Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -302,7 +302,8 @@ with gr.Blocks(title="Cosmos-Reason1", theme=gr.themes.Soft()) as demo:
|
|
302 |
example_component = gr.Examples(
|
303 |
examples=example_data,
|
304 |
inputs=[image_input, text_input],
|
305 |
-
label="Examples"
|
|
|
306 |
)
|
307 |
|
308 |
# Auto-submit when an example is clicked
|
@@ -319,8 +320,7 @@ with gr.Blocks(title="Cosmos-Reason1", theme=gr.themes.Soft()) as demo:
|
|
319 |
role_selector,
|
320 |
custom_role_text
|
321 |
],
|
322 |
-
outputs=[output, status]
|
323 |
-
cache_examples=True
|
324 |
)
|
325 |
|
326 |
if __name__ == "__main__":
|
|
|
302 |
example_component = gr.Examples(
|
303 |
examples=example_data,
|
304 |
inputs=[image_input, text_input],
|
305 |
+
label="Examples",
|
306 |
+
cache_examples=True
|
307 |
)
|
308 |
|
309 |
# Auto-submit when an example is clicked
|
|
|
320 |
role_selector,
|
321 |
custom_role_text
|
322 |
],
|
323 |
+
outputs=[output, status]
|
|
|
324 |
)
|
325 |
|
326 |
if __name__ == "__main__":
|