dennis-fast commited on
Commit
744301b
1 Parent(s): 2da2abe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -23,10 +23,7 @@ def predict(input, history=[]):
23
  return response, history
24
 
25
  gr.Interface(fn=predict,
26
- title="Chat with Elon",
27
  theme="default",
28
  css=".footer {display:none !important}",
29
- allow_screenshot=False,
30
- allow_flagging='never',
31
- inputs=["User", "state"],
32
- outputs=["Elon", "state"]).launch()
 
23
  return response, history
24
 
25
  gr.Interface(fn=predict,
 
26
  theme="default",
27
  css=".footer {display:none !important}",
28
+ inputs=["text", "state"],
29
+ outputs=["chatbot", "state"]).launch()