Update app.py
Browse files
app.py
CHANGED
@@ -193,6 +193,7 @@ def showcase(page_num):
|
|
193 |
|
194 |
for category in ['VideoCrafter2', 'Pika', 'VideoCrafter1', 'VideoCrafter0.9', 'Pika1.0', 'Gen2-09.2023', 'Gen2-12.2023', 'HotShot', 'Lavie-Base', 'Lavie-Interpolation', 'ModelScope', 'MoonValley', 'Show1', 'ZeroScope']:
|
195 |
video_path = f"./{category}/{video_name}" # Updated to use local path
|
|
|
196 |
caption_path = os.path.join('prompts', caption_name)
|
197 |
if os.path.exists(video_path):
|
198 |
caption_text = ""
|
|
|
193 |
|
194 |
for category in ['VideoCrafter2', 'Pika', 'VideoCrafter1', 'VideoCrafter0.9', 'Pika1.0', 'Gen2-09.2023', 'Gen2-12.2023', 'HotShot', 'Lavie-Base', 'Lavie-Interpolation', 'ModelScope', 'MoonValley', 'Show1', 'ZeroScope']:
|
195 |
video_path = f"./{category}/{video_name}" # Updated to use local path
|
196 |
+
video_path = f"./0000.mp4" # Updated to use local path
|
197 |
caption_path = os.path.join('prompts', caption_name)
|
198 |
if os.path.exists(video_path):
|
199 |
caption_text = ""
|