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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -9
app.py CHANGED
@@ -293,8 +293,9 @@ with gr.Blocks(title="Cosmos-Reason1", theme=gr.themes.Soft()) as demo:
293
  # Example data: (image_path, video_path, question, temperature, top_p, repetition_penalty, max_tokens, role, custom_role_text)
294
  example_data = [
295
  [
296
- "group_in_park.jpg", # Replace with your actual image file path
297
- "What is happening in this image?"
 
298
  ]
299
  ]
300
 
@@ -303,14 +304,8 @@ with gr.Blocks(title="Cosmos-Reason1", theme=gr.themes.Soft()) as demo:
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,
 
293
  # Example data: (image_path, video_path, question, temperature, top_p, repetition_penalty, max_tokens, role, custom_role_text)
294
  example_data = [
295
  [
296
+ "group_in_park.jpg",
297
+ "What is happening in this image?",
298
+ "General Assistant"
299
  ]
300
  ]
301
 
 
304
  examples=example_data,
305
  inputs=[
306
  image_input,
 
307
  text_input,
308
+ role_selector
 
 
 
 
 
309
  ],
310
  outputs=[output, status],
311
  fn=process_input,