Shad0ws commited on
Commit
80d4057
·
1 Parent(s): 0356c39

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -19
app.py CHANGED
@@ -92,18 +92,10 @@ def predict(youtube_url_or_file_path, labels_text):
92
 
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(
@@ -158,11 +150,5 @@ with app:
158
  inputs=[video_file, local_video_labels_text],
159
  outputs=[predictions, video_gif],
160
  )
161
- # gr.Markdown(
162
- # """
163
- # \n Demo created by: <a href=\"https://github.com/fcakyon\">fcakyon</a>.
164
- # <br> Based on this <a href=\"https://huggingface.co/docs/transformers/main/model_doc/xclip">HuggingFace model</a>.
165
- # """
166
- # )
167
-
168
  app.launch()
 
92
 
93
  app = gr.Blocks()
94
  with app:
95
+ gr.Markdown(
96
+ "# **<p align='center'>Zero-shot Video Classification with 🤗 Transformers</p>**"
97
+ )
98
+
 
 
 
 
 
 
 
 
99
  with gr.Row():
100
  with gr.Column():
101
  model_names_dropdown = gr.Dropdown(
 
150
  inputs=[video_file, local_video_labels_text],
151
  outputs=[predictions, video_gif],
152
  )
153
+
 
 
 
 
 
 
154
  app.launch()