Staticaliza commited on
Commit
553e3e3
·
verified ·
1 Parent(s): 3389734

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def get_seed(seed):
51
  return random.randint(0, MAX_SEED)
52
 
53
  @spaces.GPU(duration=30)
54
- def generate(input=DEFAULT_INPUT, negative_input=DEFAULT_NEGATIVE_INPUT, height=DEFAULT_HEIGHT, width=DEFAULT_WIDTH, steps=1, guidance=0, seed=None, progress=gr.Progress(track_tqdm=True)):
55
 
56
  print(input, negative_input, height, width, steps, guidance, seed)
57
  model.to(DEVICE)
 
51
  return random.randint(0, MAX_SEED)
52
 
53
  @spaces.GPU(duration=30)
54
+ def generate(input=DEFAULT_INPUT, negative_input=DEFAULT_NEGATIVE_INPUT, height=DEFAULT_HEIGHT, width=DEFAULT_WIDTH, steps=1, guidance=0, seed=None):
55
 
56
  print(input, negative_input, height, width, steps, guidance, seed)
57
  model.to(DEVICE)