Sayiqa7 commited on
Commit
196d2a2
·
verified ·
1 Parent(s): 3fdb493

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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()