Spaces:
Running
Running
Commit
·
58cf1fc
1
Parent(s):
b788590
Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ if extend_prompt_3:
|
|
62 |
MagicPrompt = gr.Interface.load("spaces/Gustavosta/MagicPrompt-Stable-Diffusion")
|
63 |
thanks_info += "[<a style='display:inline-block' href='https://huggingface.co/spaces/Gustavosta/MagicPrompt-Stable-Diffusion' _blank><font style='color:blue;weight:bold;'>MagicPrompt(3)</font></a>]"
|
64 |
|
65 |
-
do_dreamlike_photoreal =
|
66 |
if do_dreamlike_photoreal:
|
67 |
def add_random_noise(prompt, noise_level=0.1):
|
68 |
# Get the percentage of characters to add as noise
|
|
|
62 |
MagicPrompt = gr.Interface.load("spaces/Gustavosta/MagicPrompt-Stable-Diffusion")
|
63 |
thanks_info += "[<a style='display:inline-block' href='https://huggingface.co/spaces/Gustavosta/MagicPrompt-Stable-Diffusion' _blank><font style='color:blue;weight:bold;'>MagicPrompt(3)</font></a>]"
|
64 |
|
65 |
+
do_dreamlike_photoreal = False
|
66 |
if do_dreamlike_photoreal:
|
67 |
def add_random_noise(prompt, noise_level=0.1):
|
68 |
# Get the percentage of characters to add as noise
|