RamAnanth1 commited on
Commit
5d778f1
β€’
1 Parent(s): d29f4c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 = 2, batch_size = 1,
100
  sampler=ddim_sampler,
101
  )
102
- return "Hello " + name + "!!"
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")