Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 +
|
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,
|