Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -28,3 +28,8 @@ def predict(input,initial_prompt, history=[]):
|
|
28 |
history.append((input, response2))
|
29 |
|
30 |
return history, history
|
|
|
|
|
|
|
|
|
|
|
|
28 |
history.append((input, response2))
|
29 |
|
30 |
return history, history
|
31 |
+
|
32 |
+
gr.Interface(fn=predict,
|
33 |
+
inputs=["text","text",'state'],
|
34 |
+
|
35 |
+
outputs=["chatbot",'state']).launch()
|