venkatl commited on
Commit
0fd2950
1 Parent(s): 636a1b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -51,4 +51,5 @@ def create_video_from_text(text):
51
  return "text.mp4"
52
 
53
  iface = gr.Interface(fn=create_video_from_text, inputs="text", outputs=gr.Video())
54
- iface.launch()
 
 
51
  return "text.mp4"
52
 
53
  iface = gr.Interface(fn=create_video_from_text, inputs="text", outputs=gr.Video())
54
+ if __name__ == "__main__":
55
+ iface.launch()