Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -93,9 +93,17 @@ def predict(youtube_url_or_file_path, labels_text):
|
|
| 93 |
app = gr.Blocks()
|
| 94 |
with app:
|
| 95 |
gr.Markdown(
|
| 96 |
-
"# **<p align='center'>Zero-shot Video Classification with
|
| 97 |
)
|
| 98 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
with gr.Row():
|
| 100 |
with gr.Column():
|
| 101 |
model_names_dropdown = gr.Dropdown(
|
|
@@ -151,5 +159,4 @@ with app:
|
|
| 151 |
outputs=[predictions, video_gif],
|
| 152 |
)
|
| 153 |
|
| 154 |
-
|
| 155 |
-
app.launch()
|
|
|
|
| 93 |
app = gr.Blocks()
|
| 94 |
with app:
|
| 95 |
gr.Markdown(
|
| 96 |
+
"# **<p align='center'>Zero-shot Video Classification with 🤗 Transformers</p>**"
|
| 97 |
)
|
| 98 |
+
gr.Markdown(
|
| 99 |
+
"""
|
| 100 |
+
<p style='text-align: center'>
|
| 101 |
+
Follow me for more!
|
| 102 |
+
<br> <a href='https://twitter.com/fcakyon' target='_blank'>twitter</a> | <a href='https://github.com/fcakyon' target='_blank'>github</a> | <a href='https://www.linkedin.com/in/fcakyon/' target='_blank'>linkedin</a> | <a href='https://fcakyon.medium.com/' target='_blank'>medium</a>
|
| 103 |
+
</p>
|
| 104 |
+
"""
|
| 105 |
+
)
|
| 106 |
+
|
| 107 |
with gr.Row():
|
| 108 |
with gr.Column():
|
| 109 |
model_names_dropdown = gr.Dropdown(
|
|
|
|
| 159 |
outputs=[predictions, video_gif],
|
| 160 |
)
|
| 161 |
|
| 162 |
+
app.launch()
|
|
|