stale2000 commited on
Commit
d47b997
·
1 Parent(s): b898420

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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,"text",'state'],
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