Update app.py
Browse files
app.py
CHANGED
@@ -180,7 +180,9 @@ with gr.Blocks(theme=theme) as demo:
|
|
180 |
answer = gr.Textbox(label="˚ ༘˚Plai's Responseೀ⋆。", placeholder="ೀ🍨‧°Plai Your Way Here🎀⊹°。♡", interactive=False, lines=17)
|
181 |
image_output=gr.Image(label="Image Outputs Here")
|
182 |
submit_button = gr.Button("˚₊‧꒰აAsk Away໒꒱ ‧₊˚")
|
183 |
-
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
|
|
|
|
184 |
|
185 |
|
186 |
# Launch the Gradio app to allow user interaction
|
|
|
180 |
answer = gr.Textbox(label="˚ ༘˚Plai's Responseೀ⋆。", placeholder="ೀ🍨‧°Plai Your Way Here🎀⊹°。♡", interactive=False, lines=17)
|
181 |
image_output=gr.Image(label="Image Outputs Here")
|
182 |
submit_button = gr.Button("˚₊‧꒰აAsk Away໒꒱ ‧₊˚")
|
183 |
+
submit_button.click(fn=query_model, inputs=question, outputs=[answer,image_output])
|
184 |
+
|
185 |
+
|
186 |
|
187 |
|
188 |
# Launch the Gradio app to allow user interaction
|