Spaces:
Runtime error
Runtime error
Commit
·
001afc8
1
Parent(s):
3ac9466
Update app.py
Browse files
app.py
CHANGED
@@ -176,13 +176,13 @@ class GradioInference:
|
|
176 |
formatted_sentiment,
|
177 |
wordcloud_image,
|
178 |
)
|
179 |
-
gr.Info("Success!")
|
180 |
|
181 |
except:
|
182 |
gr.Error(message="Restricted Content. Choose a different video")
|
183 |
-
return None, None, None, None, None
|
184 |
-
|
185 |
|
|
|
|
|
|
|
186 |
|
187 |
def populate_metadata(self, link):
|
188 |
"""
|
|
|
176 |
formatted_sentiment,
|
177 |
wordcloud_image,
|
178 |
)
|
|
|
179 |
|
180 |
except:
|
181 |
gr.Error(message="Restricted Content. Choose a different video")
|
|
|
|
|
182 |
|
183 |
+
finally:
|
184 |
+
gr.Info("Success!")
|
185 |
+
|
186 |
|
187 |
def populate_metadata(self, link):
|
188 |
"""
|