Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -61,8 +61,8 @@ def get_video_path_local(model_name, type, prompt):
|
|
61 |
else:
|
62 |
video_path_subfolder = os.path.join(model_name, type)
|
63 |
|
64 |
-
if 'cogvideo'
|
65 |
-
prompt.replace(".mp4",".gif")
|
66 |
|
67 |
try:
|
68 |
return hf_api.hf_hub_download(
|
|
|
61 |
else:
|
62 |
video_path_subfolder = os.path.join(model_name, type)
|
63 |
|
64 |
+
if model_name == 'cogvideo':
|
65 |
+
prompt = prompt.replace(".mp4",".gif")
|
66 |
|
67 |
try:
|
68 |
return hf_api.hf_hub_download(
|