Staticaliza commited on
Commit
d34abc6
·
verified ·
1 Parent(s): cb768f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -100,7 +100,6 @@ def generate(input=DEFAULT_INPUT, filter_input="", negative_input=DEFAULT_NEGATI
100
  steps_set = 25
101
  guidance_set = 7
102
  repo.set_adapters(["default_base"], adapter_weights=[0.7])
103
- repo.to(DEVICE)
104
 
105
  if not steps:
106
  steps = steps_set
@@ -109,6 +108,8 @@ def generate(input=DEFAULT_INPUT, filter_input="", negative_input=DEFAULT_NEGATI
109
 
110
  print(steps, guidance)
111
 
 
 
112
  parameters = {
113
  "prompt": input,
114
  "negative_prompt": filter_input + negative_input,
 
100
  steps_set = 25
101
  guidance_set = 7
102
  repo.set_adapters(["default_base"], adapter_weights=[0.7])
 
103
 
104
  if not steps:
105
  steps = steps_set
 
108
 
109
  print(steps, guidance)
110
 
111
+ repo.to(DEVICE)
112
+
113
  parameters = {
114
  "prompt": input,
115
  "negative_prompt": filter_input + negative_input,