Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -154,7 +154,7 @@ def generate_video(text: str, video_path: str,
|
|
| 154 |
|
| 155 |
# Define examples for image and video inference
|
| 156 |
image_examples = [
|
| 157 |
-
["OCR the
|
| 158 |
["Explain the scene in detail.", "images/2.jpg"]
|
| 159 |
]
|
| 160 |
|
|
@@ -165,7 +165,7 @@ video_examples = [
|
|
| 165 |
|
| 166 |
# Create the Gradio Interface
|
| 167 |
with gr.Blocks() as demo:
|
| 168 |
-
gr.Markdown("#
|
| 169 |
with gr.Row():
|
| 170 |
with gr.Column():
|
| 171 |
with gr.Tabs():
|
|
|
|
| 154 |
|
| 155 |
# Define examples for image and video inference
|
| 156 |
image_examples = [
|
| 157 |
+
["Perform OCR on the text in the image.", "images/1.jpg"],
|
| 158 |
["Explain the scene in detail.", "images/2.jpg"]
|
| 159 |
]
|
| 160 |
|
|
|
|
| 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():
|