Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -303,11 +303,18 @@ with gr.Blocks(title="Cosmos-Reason1", theme=gr.themes.Soft()) as demo:
|
|
303 |
examples=example_data,
|
304 |
inputs=[
|
305 |
image_input,
|
306 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
307 |
],
|
308 |
outputs=[output, status],
|
309 |
fn=process_input,
|
310 |
-
cache_examples=
|
311 |
)
|
312 |
|
313 |
if __name__ == "__main__":
|
|
|
303 |
examples=example_data,
|
304 |
inputs=[
|
305 |
image_input,
|
306 |
+
video_input,
|
307 |
+
text_input,
|
308 |
+
temperature,
|
309 |
+
top_p,
|
310 |
+
repetition_penalty,
|
311 |
+
max_tokens,
|
312 |
+
role_selector,
|
313 |
+
custom_role_text
|
314 |
],
|
315 |
outputs=[output, status],
|
316 |
fn=process_input,
|
317 |
+
cache_examples=True
|
318 |
)
|
319 |
|
320 |
if __name__ == "__main__":
|