Spaces:
Runtime error
Runtime error
Commit
·
603d210
1
Parent(s):
61e167f
trying another approach...
Browse files
app.py
CHANGED
@@ -74,12 +74,10 @@ def generate_interpolation(text, fps=10):
|
|
74 |
demo = gr.Blocks()
|
75 |
|
76 |
with demo:
|
77 |
-
text = gr.Textbox(placeholder='human, human head, brain, brain in a computer, humanoid robot', label='Input a comma-separated list of terms')
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
button =
|
82 |
-
output = gr.Text()
|
83 |
-
button.click(fn=lambda x: x, inputs=text, outputs=text)
|
84 |
|
85 |
demo.launch(debug=True, enable_queue=True)
|
|
|
74 |
demo = gr.Blocks()
|
75 |
|
76 |
with demo:
|
77 |
+
text = gr.Textbox(placeholder='human, human head, brain, brain in a computer, humanoid robot', label='Input a comma-separated list of terms:')
|
78 |
+
button = gr.Button("Generate Video")
|
79 |
+
output = gr.Video(label="Generated Video")
|
80 |
+
|
81 |
+
button.click(fn=generate_interpolation, inputs=text, outputs='out.mp4')
|
|
|
|
|
82 |
|
83 |
demo.launch(debug=True, enable_queue=True)
|