Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,12 @@
|
|
| 1 |
import gradio as gr
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
# Load the ASR model once (faster, avoids reloading each time)
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
|
| 3 |
+
with gr.Blocks() as demo:
|
| 4 |
+
with gr.Row():
|
| 5 |
+
gr.Image("logo.png", elem_id="logo", show_label=False)
|
| 6 |
+
|
| 7 |
+
gr.Markdown("## 🎥 Video to Text Generator")
|
| 8 |
+
# Your existing UI components here...
|
| 9 |
+
import gradio as gr
|
| 10 |
from transformers import pipeline
|
| 11 |
|
| 12 |
# Load the ASR model once (faster, avoids reloading each time)
|