Spaces:
Runtime error
Runtime error
RamAnanth1
commited on
Commit
β’
d796b5a
1
Parent(s):
220bb8d
Update app.py
Browse files
app.py
CHANGED
@@ -206,12 +206,13 @@ def get_video_lora(prompt, seed, ddim_steps, model_choice):
|
|
206 |
|
207 |
def get_video_control(prompt, input_video, seed, ddim_steps):
|
208 |
seed_everything(seed)
|
209 |
-
h,w = 512//8, 512//8
|
210 |
-
noise_shape = [1, model.channels, model.temporal_length,h,w]
|
211 |
-
batch_samples, batch_conds = adapter_guided_synthesis(model, prompt,input_video,noise_shape, sampler=ddim_sampler, n_samples = 1,
|
212 |
-
|
213 |
-
|
214 |
-
return save_results_control(batch_samples, batch_conds)
|
|
|
215 |
|
216 |
from gradio_t2v import create_demo as create_demo_basic
|
217 |
from gradio_videolora import create_demo as create_demo_videolora
|
|
|
206 |
|
207 |
def get_video_control(prompt, input_video, seed, ddim_steps):
|
208 |
seed_everything(seed)
|
209 |
+
# h,w = 512//8, 512//8
|
210 |
+
# noise_shape = [1, model.channels, model.temporal_length,h,w]
|
211 |
+
# batch_samples, batch_conds = adapter_guided_synthesis(model, prompt,input_video,noise_shape, sampler=ddim_sampler, n_samples = 1,
|
212 |
+
# ddim_steps=ddim_steps
|
213 |
+
# )
|
214 |
+
# return save_results_control(batch_samples, batch_conds)
|
215 |
+
return input_video
|
216 |
|
217 |
from gradio_t2v import create_demo as create_demo_basic
|
218 |
from gradio_videolora import create_demo as create_demo_videolora
|