Yaron Koresh commited on
Commit
1c3508c
·
verified ·
1 Parent(s): 1ba8f76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -80,6 +80,9 @@ def Piper(name,positive_prompt,motion):
80
  global fps
81
  global time
82
  global last_motion
 
 
 
83
 
84
  print("starting piper")
85
 
@@ -190,15 +193,14 @@ def main():
190
  global last_motion
191
 
192
  last_motion=None
193
- fps=40
194
  time=5
195
  device = "cuda"
196
  dtype = torch.float16
197
  result=[]
198
- step = 2
199
 
200
  progress=gr.Progress()
201
- progress((0, step))
202
 
203
  #base="SG161222/Realistic_Vision_V6.0_B1_noVAE"
204
  #vae="stabilityai/sd-vae-ft-mse-original"
 
80
  global fps
81
  global time
82
  global last_motion
83
+ global progress
84
+
85
+ progress((0, step))
86
 
87
  print("starting piper")
88
 
 
193
  global last_motion
194
 
195
  last_motion=None
196
+ fps=10
197
  time=5
198
  device = "cuda"
199
  dtype = torch.float16
200
  result=[]
201
+ step = 4
202
 
203
  progress=gr.Progress()
 
204
 
205
  #base="SG161222/Realistic_Vision_V6.0_B1_noVAE"
206
  #vae="stabilityai/sd-vae-ft-mse-original"