prithivMLmods commited on
Commit
09f3d9e
·
verified ·
1 Parent(s): 10dcd42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -165,21 +165,21 @@ video_examples = [
165
 
166
  # Create the Gradio Interface
167
  with gr.Blocks() as demo:
168
- gr.Markdown("# Cosmos-Reason1 by [NVIDIA](https://huggingface.co/nvidia/Cosmos-Reason1-7B)")
169
  with gr.Row():
170
  with gr.Column():
171
  with gr.Tabs():
172
  with gr.TabItem("Image Inference"):
173
- image_query = gr.Textbox(label="Query Input", placeholder="Enter your query here...")
174
- image_upload = gr.Image(type="pil", label="Upload Image")
175
  image_submit = gr.Button("Submit")
176
  gr.Examples(
177
  examples=image_examples,
178
  inputs=[image_query, image_upload]
179
  )
180
  with gr.TabItem("Video Inference"):
181
- video_query = gr.Textbox(label="Query Input", placeholder="Enter your query here...")
182
- video_upload = gr.Video(label="Upload Video")
183
  video_submit = gr.Button("Submit")
184
  gr.Examples(
185
  examples=video_examples,
 
165
 
166
  # Create the Gradio Interface
167
  with gr.Blocks() as demo:
168
+ gr.Markdown("**Cosmos-Reason1 by [NVIDIA](https://huggingface.co/nvidia/Cosmos-Reason1-7B)**")
169
  with gr.Row():
170
  with gr.Column():
171
  with gr.Tabs():
172
  with gr.TabItem("Image Inference"):
173
+ image_query = gr.Textbox(label="Input Text", placeholder="Enter your query here...")
174
+ image_upload = gr.Image(type="pil", label="Image")
175
  image_submit = gr.Button("Submit")
176
  gr.Examples(
177
  examples=image_examples,
178
  inputs=[image_query, image_upload]
179
  )
180
  with gr.TabItem("Video Inference"):
181
+ video_query = gr.Textbox(label="Input Text", placeholder="Enter your query here...")
182
+ video_upload = gr.Video(label="Video")
183
  video_submit = gr.Button("Submit")
184
  gr.Examples(
185
  examples=video_examples,