quan1998 commited on
Commit
e19b4bd
·
verified ·
1 Parent(s): dbe3608

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -32,7 +32,8 @@ demo = gr.Interface(
32
  gr.JSON(value=[{"role": "user", "content": "Bạn là AI"}])
33
  ],
34
  outputs=[gr.Textbox(label="result", lines=3)],
35
- api_name="chat"
 
36
  )
37
 
38
  if __name__ == "__main__":
 
32
  gr.JSON(value=[{"role": "user", "content": "Bạn là AI"}])
33
  ],
34
  outputs=[gr.Textbox(label="result", lines=3)],
35
+ api_name="chat",
36
+ clear_btn=None
37
  )
38
 
39
  if __name__ == "__main__":