Spaces:
Sleeping
Sleeping
Reuben Tan
commited on
Commit
·
8f2e989
1
Parent(s):
4600c84
remove img upload button
Browse files
app.py
CHANGED
@@ -197,8 +197,7 @@ with gr.Blocks() as demo:
|
|
197 |
with gr.Row():
|
198 |
with gr.Column(scale=0.5):
|
199 |
video = gr.Video()
|
200 |
-
|
201 |
-
image = None
|
202 |
#gr.Markdown(case_note_upload)
|
203 |
|
204 |
upload_button = gr.Button(value="Upload & Start Chat", interactive=True, variant="primary")
|
@@ -248,4 +247,5 @@ with gr.Blocks() as demo:
|
|
248 |
clear.click(gradio_reset, [chat_state, img_list], [chatbot, video, text_input, upload_button, chat_state, img_list], queue=False)
|
249 |
|
250 |
#demo.launch(share=False, enable_queue=True, debug=True)
|
251 |
-
demo.
|
|
|
|
197 |
with gr.Row():
|
198 |
with gr.Column(scale=0.5):
|
199 |
video = gr.Video()
|
200 |
+
image = gr.Image(type="filepath")
|
|
|
201 |
#gr.Markdown(case_note_upload)
|
202 |
|
203 |
upload_button = gr.Button(value="Upload & Start Chat", interactive=True, variant="primary")
|
|
|
247 |
clear.click(gradio_reset, [chat_state, img_list], [chatbot, video, text_input, upload_button, chat_state, img_list], queue=False)
|
248 |
|
249 |
#demo.launch(share=False, enable_queue=True, debug=True)
|
250 |
+
demo.queue(max_size=10)
|
251 |
+
demo.launch(share=True)
|