Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -165,12 +165,12 @@ 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
|
| 174 |
image_upload = gr.Image(type="pil", label="Image")
|
| 175 |
image_submit = gr.Button("Submit")
|
| 176 |
gr.Examples(
|
|
@@ -178,7 +178,7 @@ with gr.Blocks() as demo:
|
|
| 178 |
inputs=[image_query, image_upload]
|
| 179 |
)
|
| 180 |
with gr.TabItem("Video Inference"):
|
| 181 |
-
video_query = gr.Textbox(label="Input
|
| 182 |
video_upload = gr.Video(label="Video")
|
| 183 |
video_submit = gr.Button("Submit")
|
| 184 |
gr.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="Image")
|
| 175 |
image_submit = gr.Button("Submit")
|
| 176 |
gr.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="Video")
|
| 183 |
video_submit = gr.Button("Submit")
|
| 184 |
gr.Examples(
|