Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,8 +28,10 @@ def predict(input, manual_query_repacement, history=[]):
|
|
| 28 |
return history, history
|
| 29 |
|
| 30 |
|
|
|
|
|
|
|
|
|
|
| 31 |
gr.Interface(fn=predict,
|
| 32 |
-
inputText= gradio.Textbox(value="tmp")
|
| 33 |
inputs=[inputText,"text",'state'],
|
| 34 |
|
| 35 |
outputs=["chatbot",'state']).launch()
|
|
|
|
| 28 |
return history, history
|
| 29 |
|
| 30 |
|
| 31 |
+
|
| 32 |
+
inputText= gradio.Textbox(value="tmp")
|
| 33 |
+
|
| 34 |
gr.Interface(fn=predict,
|
|
|
|
| 35 |
inputs=[inputText,"text",'state'],
|
| 36 |
|
| 37 |
outputs=["chatbot",'state']).launch()
|