Muhammad Taqi Raza
commited on
Commit
·
35ab635
1
Parent(s):
2222eb8
absolute paths
Browse files- gradio_app.py +0 -1
- inference/v2v_data/inference.py +2 -2
gradio_app.py
CHANGED
@@ -2,7 +2,6 @@ import os
|
|
2 |
import subprocess
|
3 |
from datetime import datetime
|
4 |
from pathlib import Path
|
5 |
-
|
6 |
import gradio as gr
|
7 |
|
8 |
# -----------------------------
|
|
|
2 |
import subprocess
|
3 |
from datetime import datetime
|
4 |
from pathlib import Path
|
|
|
5 |
import gradio as gr
|
6 |
|
7 |
# -----------------------------
|
inference/v2v_data/inference.py
CHANGED
@@ -135,7 +135,7 @@ def get_parser():
|
|
135 |
default=". The video is of high quality, and the view is very clear. High quality, masterpiece, best quality, highres, ultra-detailed, fantastic.",
|
136 |
help='Prompt for video generation',
|
137 |
)
|
138 |
-
parser.add_argument('--qwen_path', type=str, default="
|
139 |
|
140 |
## depth
|
141 |
# parser.add_argument('--unet_path', type=str, default='checkpoints/DepthCrafter', help='Path to the UNet model')
|
@@ -174,7 +174,7 @@ def get_parser():
|
|
174 |
parser.add_argument(
|
175 |
'--max_res', type=int, default=1024, help='Maximum resolution for processing'
|
176 |
)
|
177 |
-
|
178 |
return parser
|
179 |
|
180 |
|
|
|
135 |
default=". The video is of high quality, and the view is very clear. High quality, masterpiece, best quality, highres, ultra-detailed, fantastic.",
|
136 |
help='Prompt for video generation',
|
137 |
)
|
138 |
+
parser.add_argument('--qwen_path', type=str, default="/app/pretrained/Qwen2.5-VL-7B-Instruct")
|
139 |
|
140 |
## depth
|
141 |
# parser.add_argument('--unet_path', type=str, default='checkpoints/DepthCrafter', help='Path to the UNet model')
|
|
|
174 |
parser.add_argument(
|
175 |
'--max_res', type=int, default=1024, help='Maximum resolution for processing'
|
176 |
)
|
177 |
+
|
178 |
return parser
|
179 |
|
180 |
|