Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
3766dbe
1
Parent(s):
8c988dd
hotfix
Browse files- app.py +1 -1
- local_app.py +1 -1
app.py
CHANGED
@@ -415,7 +415,7 @@ def process_image(
|
|
415 |
)
|
416 |
preprocess_time = time.time() - preprocess_start
|
417 |
if style_selection is not None or style_selection != "None":
|
418 |
-
prompt = "Photo from Pinterest of " + apply_style(style_selection) + " " + prompt
|
419 |
else:
|
420 |
prompt=str(get_prompt(prompt, a_prompt))
|
421 |
negative_prompt=str(n_prompt)
|
|
|
415 |
)
|
416 |
preprocess_time = time.time() - preprocess_start
|
417 |
if style_selection is not None or style_selection != "None":
|
418 |
+
prompt = "Photo from Pinterest of " + apply_style(style_selection) + " " + prompt + "," + a_prompt
|
419 |
else:
|
420 |
prompt=str(get_prompt(prompt, a_prompt))
|
421 |
negative_prompt=str(n_prompt)
|
local_app.py
CHANGED
@@ -416,7 +416,7 @@ def process_image(
|
|
416 |
)
|
417 |
preprocess_time = time.time() - preprocess_start
|
418 |
if style_selection is not None or style_selection != "None":
|
419 |
-
prompt = "Photo from Pinterest of " + apply_style(style_selection) + " " + prompt
|
420 |
else:
|
421 |
prompt=str(get_prompt(prompt))
|
422 |
negative_prompt=str(n_prompt)
|
|
|
416 |
)
|
417 |
preprocess_time = time.time() - preprocess_start
|
418 |
if style_selection is not None or style_selection != "None":
|
419 |
+
prompt = "Photo from Pinterest of " + apply_style(style_selection) + " " + prompt + "," + a_prompt
|
420 |
else:
|
421 |
prompt=str(get_prompt(prompt))
|
422 |
negative_prompt=str(n_prompt)
|