dat257 commited on
Commit
0dce0d3
·
verified ·
1 Parent(s): 6e429b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ async def api_answer(request: Request):
57
  return JSONResponse({"error": str(e)}, status_code=500)
58
 
59
  # Tạo Gradio Blocks
60
- with gr.Blocks(app=app) as demo:
61
  gr.Markdown("# AgriBot: Hỏi đáp nông nghiệp")
62
  gr.Markdown("Nhập câu hỏi và ngữ cảnh để nhận câu trả lời về nông nghiệp.")
63
 
 
57
  return JSONResponse({"error": str(e)}, status_code=500)
58
 
59
  # Tạo Gradio Blocks
60
+ with gr.Blocks() as demo:
61
  gr.Markdown("# AgriBot: Hỏi đáp nông nghiệp")
62
  gr.Markdown("Nhập câu hỏi và ngữ cảnh để nhận câu trả lời về nông nghiệp.")
63