fffiloni commited on
Commit
b33af86
Β·
verified Β·
1 Parent(s): 094abee

Update gradio/vace.py

Browse files
Files changed (1) hide show
  1. gradio/vace.py +6 -6
gradio/vace.py CHANGED
@@ -10,18 +10,18 @@ import numpy as np
10
  import torch
11
  import gradio as gr
12
 
13
- sys.path.insert(0, os.path.sep.join(os.path.realpath(__file__).split(os.path.sep)[:-2]))
14
- import wan
15
- from wan import WanVace, WanVaceMP
16
- from wan.configs import WAN_CONFIGS, SIZE_CONFIGS
17
-
18
  from huggingface_hub import snapshot_download
19
 
20
  snapshot_download(
21
  repo_id = "Wan-AI/Wan2.1-VACE-1.3B",
22
- local_dir = "models/Wan2.1-VACE-1.3B"
23
  )
24
 
 
 
 
 
 
25
 
26
  class FixedSizeQueue:
27
  def __init__(self, max_size):
 
10
  import torch
11
  import gradio as gr
12
 
 
 
 
 
 
13
  from huggingface_hub import snapshot_download
14
 
15
  snapshot_download(
16
  repo_id = "Wan-AI/Wan2.1-VACE-1.3B",
17
+ local_dir = "./models/Wan2.1-VACE-1.3B"
18
  )
19
 
20
+ sys.path.insert(0, os.path.sep.join(os.path.realpath(__file__).split(os.path.sep)[:-2]))
21
+ import wan
22
+ from wan import WanVace, WanVaceMP
23
+ from wan.configs import WAN_CONFIGS, SIZE_CONFIGS
24
+
25
 
26
  class FixedSizeQueue:
27
  def __init__(self, max_size):