Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ t2v_examples = [
|
|
25 |
def do_nothing():
|
26 |
return
|
27 |
|
28 |
-
def
|
29 |
text2video = Text2Video(result_dir)
|
30 |
# video2video = Video2Video(result_dir)
|
31 |
|
@@ -82,7 +82,6 @@ def videocrafter_demo(result_dir='./tmp/'):
|
|
82 |
|
83 |
if __name__ == "__main__":
|
84 |
result_dir = os.path.join('./', 'results')
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
# videocrafter_iface.launch(server_name='0.0.0.0', server_port=80)
|
|
|
25 |
def do_nothing():
|
26 |
return
|
27 |
|
28 |
+
def demo(result_dir='./tmp/'):
|
29 |
text2video = Text2Video(result_dir)
|
30 |
# video2video = Video2Video(result_dir)
|
31 |
|
|
|
82 |
|
83 |
if __name__ == "__main__":
|
84 |
result_dir = os.path.join('./', 'results')
|
85 |
+
video_demo = demo(result_dir)
|
86 |
+
video_demo.queue()
|
87 |
+
video_demo.launch()
|
|