Spaces:
Running
on
Zero
Running
on
Zero
alex
commited on
Commit
·
e04a1e2
1
Parent(s):
3f16767
function fixed
Browse files
app.py
CHANGED
|
@@ -159,11 +159,6 @@ def generate_scene(prompt_text, steps, image_paths, audio_file_path, tea_cache_l
|
|
| 159 |
|
| 160 |
return run_pipeline(prompt_text, steps, image_paths, audio_file_path, tea_cache_l1_thresh, max_duration, session_id)
|
| 161 |
|
| 162 |
-
|
| 163 |
-
def generate_example(prompt_text, steps, image_paths, audio_file_path):
|
| 164 |
-
|
| 165 |
-
return run_pipeline(prompt_text, steps, image_paths, audio_file_path)
|
| 166 |
-
|
| 167 |
def upload_inductor_cache_to_hub(
|
| 168 |
repo_id: str,
|
| 169 |
path_in_repo: str = "inductor_cache",
|
|
@@ -418,7 +413,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 418 |
],
|
| 419 |
inputs=[prompt_tb, steps_input, img_input, audio_input],
|
| 420 |
outputs=[video_output],
|
| 421 |
-
fn=
|
| 422 |
cache_examples=True,
|
| 423 |
)
|
| 424 |
max_duration.change(update_required_time, [steps_input, max_duration], time_required)
|
|
|
|
| 159 |
|
| 160 |
return run_pipeline(prompt_text, steps, image_paths, audio_file_path, tea_cache_l1_thresh, max_duration, session_id)
|
| 161 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 162 |
def upload_inductor_cache_to_hub(
|
| 163 |
repo_id: str,
|
| 164 |
path_in_repo: str = "inductor_cache",
|
|
|
|
| 413 |
],
|
| 414 |
inputs=[prompt_tb, steps_input, img_input, audio_input],
|
| 415 |
outputs=[video_output],
|
| 416 |
+
fn=run_pipeline,
|
| 417 |
cache_examples=True,
|
| 418 |
)
|
| 419 |
max_duration.change(update_required_time, [steps_input, max_duration], time_required)
|