anzorq commited on
Commit
0e5eebf
1 Parent(s): 8a39b6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -172,7 +172,7 @@ def inference_image(model_path, prompt, mode, *args, **kwargs):
172
  print(f"{datetime.datetime.now()} {mode}, model: {model_path}")
173
  global pipe
174
  load_model(model_path, mode)
175
- prompt = current_model.prefix + prompt3
176
  result = pipe(
177
  prompt,
178
  *args,
 
172
  print(f"{datetime.datetime.now()} {mode}, model: {model_path}")
173
  global pipe
174
  load_model(model_path, mode)
175
+ prompt = current_model.prefix + prompt
176
  result = pipe(
177
  prompt,
178
  *args,