Spaces:
Runtime error
Runtime error
RamAnanth1
commited on
Commit
β’
5d778f1
1
Parent(s):
d29f4c0
Update app.py
Browse files
app.py
CHANGED
@@ -96,10 +96,10 @@ def sample_text2video(model, prompt, n_samples, batch_size,
|
|
96 |
|
97 |
|
98 |
def get_video(prompt):
|
99 |
-
samples = sample_text2video(model, prompt, n_samples =
|
100 |
sampler=ddim_sampler,
|
101 |
)
|
102 |
-
return "Hello " +
|
103 |
|
104 |
prompt_inp = gr.Textbox(label = "Prompt")
|
105 |
iface = gr.Interface(fn=get_video, inputs=[prompt_inp], outputs="text")
|
|
|
96 |
|
97 |
|
98 |
def get_video(prompt):
|
99 |
+
samples = sample_text2video(model, prompt, n_samples = 1, batch_size = 1,
|
100 |
sampler=ddim_sampler,
|
101 |
)
|
102 |
+
return "Hello " + prompt + "!!"
|
103 |
|
104 |
prompt_inp = gr.Textbox(label = "Prompt")
|
105 |
iface = gr.Interface(fn=get_video, inputs=[prompt_inp], outputs="text")
|