Update app.py
Browse files
app.py
CHANGED
|
@@ -233,11 +233,11 @@ def interpolate_bits(frames_np, multiplier=2, scale=1.0):
|
|
| 233 |
|
| 234 |
# WAN
|
| 235 |
|
| 236 |
-
ORG_NAME = "TestOrganizationPleaseIgnore"
|
| 237 |
-
|
| 238 |
-
MODEL_ID = os.getenv("REPO_ID") or random.choice(
|
| 239 |
-
|
| 240 |
-
).modelId
|
| 241 |
CACHE_DIR = os.path.expanduser("~/.cache/huggingface/")
|
| 242 |
|
| 243 |
LORA_MODELS = [
|
|
@@ -624,7 +624,7 @@ CSS = """
|
|
| 624 |
|
| 625 |
|
| 626 |
with gr.Blocks(delete_cache=(3600, 10800)) as demo:
|
| 627 |
-
gr.Markdown(model_title())
|
| 628 |
gr.Markdown("Runs in ~50s on MIG'd H200 for a 4s output")
|
| 629 |
|
| 630 |
with gr.Row():
|
|
|
|
| 233 |
|
| 234 |
# WAN
|
| 235 |
|
| 236 |
+
# ORG_NAME = "TestOrganizationPleaseIgnore"
|
| 237 |
+
MODEL_ID = "Wan-AI/Wan2.2-I2V-A14B-Diffusers"
|
| 238 |
+
# MODEL_ID = os.getenv("REPO_ID") or random.choice(
|
| 239 |
+
# list(list_models(author=ORG_NAME, filter='diffusers:WanImageToVideoPipeline'))
|
| 240 |
+
# ).modelId
|
| 241 |
CACHE_DIR = os.path.expanduser("~/.cache/huggingface/")
|
| 242 |
|
| 243 |
LORA_MODELS = [
|
|
|
|
| 624 |
|
| 625 |
|
| 626 |
with gr.Blocks(delete_cache=(3600, 10800)) as demo:
|
| 627 |
+
# gr.Markdown(model_title())
|
| 628 |
gr.Markdown("Runs in ~50s on MIG'd H200 for a 4s output")
|
| 629 |
|
| 630 |
with gr.Row():
|