Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -190,3 +190,6 @@ def get_video_info(url, max_retries=3):
|
|
190 |
if attempt == max_retries - 1:
|
191 |
return None, f"Failed to fetch video information after {max_retries} attempts. Error: {str(e)}"
|
192 |
time.sleep(1) # Wait before retrying
|
|
|
|
|
|
|
|
190 |
if attempt == max_retries - 1:
|
191 |
return None, f"Failed to fetch video information after {max_retries} attempts. Error: {str(e)}"
|
192 |
time.sleep(1) # Wait before retrying
|
193 |
+
# Launch the interface
|
194 |
+
if __name__ == "__main__":
|
195 |
+
interface.launch()
|