harrim-nv commited on
Commit
a94de22
·
verified ·
1 Parent(s): 2e9085e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -2
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
- text_input
 
 
 
 
 
 
 
307
  ],
308
  outputs=[output, status],
309
  fn=process_input,
310
- cache_examples="lazy"
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__":