Spaces:
Sleeping
Sleeping
罗峰
commited on
Commit
·
db3ae8f
1
Parent(s):
ccd534b
app commit
Browse files
app.py
CHANGED
@@ -98,7 +98,6 @@ def predict(file,input, chatbot,history):
|
|
98 |
# show_progress=True)
|
99 |
# submitBtn.click(reset_user_input, [], [user_input])
|
100 |
# emptyBtn.click(reset_state, outputs=[chatbot, history], show_progress=True)
|
101 |
-
|
102 |
with gr.Blocks() as demo:
|
103 |
image_url = gr.Image(type="filepath",label="请选择一张图片")
|
104 |
input = gr.Textbox(label='问题', placeholder="", lines=1)
|
|
|
98 |
# show_progress=True)
|
99 |
# submitBtn.click(reset_user_input, [], [user_input])
|
100 |
# emptyBtn.click(reset_state, outputs=[chatbot, history], show_progress=True)
|
|
|
101 |
with gr.Blocks() as demo:
|
102 |
image_url = gr.Image(type="filepath",label="请选择一张图片")
|
103 |
input = gr.Textbox(label='问题', placeholder="", lines=1)
|