Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,10 +29,11 @@ def predict(input, manual_query_repacement, history=[]):
|
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
-
inputText= gradio.Textbox(value="tmp")
|
|
|
|
| 33 |
|
| 34 |
gradio.Interface(fn=predict,
|
| 35 |
-
inputs=[inputText,
|
| 36 |
|
| 37 |
outputs=["chatbot",'state']).launch()
|
| 38 |
|
|
|
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
+
inputText = gradio.Textbox(value="tmp")
|
| 33 |
+
manual_query = gradio.Textbox(placeholder="Input any query here, to replace the image generation query builder entirely.")
|
| 34 |
|
| 35 |
gradio.Interface(fn=predict,
|
| 36 |
+
inputs=[inputText,manual_query,'state'],
|
| 37 |
|
| 38 |
outputs=["chatbot",'state']).launch()
|
| 39 |
|