Spaces:
Runtime error
Runtime error
dennis-fast
commited on
Commit
·
744301b
1
Parent(s):
2da2abe
Update app.py
Browse files
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 |
-
|
30 |
-
|
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()
|
|
|
|