Spaces:
Runtime error
Runtime error
Commit
·
3ac9466
1
Parent(s):
5a3bdec
Update app.py
Browse files
app.py
CHANGED
@@ -176,12 +176,12 @@ class GradioInference:
|
|
176 |
formatted_sentiment,
|
177 |
wordcloud_image,
|
178 |
)
|
179 |
-
|
|
|
180 |
except:
|
181 |
-
gr.Error("Restricted Content. Choose a different video")
|
182 |
return None, None, None, None, None
|
183 |
-
|
184 |
-
gr.Info("Success")
|
185 |
|
186 |
|
187 |
def populate_metadata(self, link):
|
|
|
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):
|