carblacac commited on
Commit
605cc02
1 Parent(s): 62c4cc2

correct cleaner botton

Browse files
Files changed (1) hide show
  1. app.py +6 -7
app.py CHANGED
@@ -59,14 +59,13 @@ def chat(message, history):
59
  return history, history
60
 
61
 
62
- iface = gr.Interface(
63
- chat,
64
- ["text", "state"],
65
- ["chatbot", "state"],
66
  theme="huggingface",
 
 
 
67
  title=title,
68
  description=description,
69
- examples=[["What are you doing?"], ["Where would you like to travel?"]],
70
  allow_flagging="never",
71
- )
72
- iface.launch()
 
59
  return history, history
60
 
61
 
62
+ gr.Interface(
63
+ fn=chat,
 
 
64
  theme="huggingface",
65
+ css=".footer {display:none !important}",
66
+ inputs=["text", "state"],
67
+ outputs=["chatbot", "state"],
68
  title=title,
69
  description=description,
 
70
  allow_flagging="never",
71
+ ).launch()