Spaces:
Runtime error
Runtime error
phenomenon1981
commited on
Commit
•
3ab9441
1
Parent(s):
0682054
Update app.py
Browse files
app.py
CHANGED
@@ -7,9 +7,6 @@ from pathlib import Path
|
|
7 |
|
8 |
text_gen=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion")
|
9 |
|
10 |
-
seed = gr.Slider(
|
11 |
-
0, 2147483647, label="Seed (0 = random)", value=0, step=1
|
12 |
-
)
|
13 |
proc1=gr.Interface.load("models/dreamlike-art/dreamlike-photoreal-2.0")
|
14 |
proc2=gr.Interface.load("models/dreamlike-art/dreamlike-photoreal-2.0")
|
15 |
proc3=gr.Interface.load("models/dreamlike-art/dreamlike-photoreal-2.0")
|
@@ -23,6 +20,7 @@ proc8=gr.Interface.load("models/dreamlike-art/dreamlike-diffusion-1.0")
|
|
23 |
|
24 |
def send_it1(inputs,proc1=proc1):
|
25 |
output1=proc1(inputs)
|
|
|
26 |
return(output1)
|
27 |
def send_it2(inputs,proc2=proc2):
|
28 |
output2=proc2(inputs)
|
|
|
7 |
|
8 |
text_gen=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion")
|
9 |
|
|
|
|
|
|
|
10 |
proc1=gr.Interface.load("models/dreamlike-art/dreamlike-photoreal-2.0")
|
11 |
proc2=gr.Interface.load("models/dreamlike-art/dreamlike-photoreal-2.0")
|
12 |
proc3=gr.Interface.load("models/dreamlike-art/dreamlike-photoreal-2.0")
|
|
|
20 |
|
21 |
def send_it1(inputs,proc1=proc1):
|
22 |
output1=proc1(inputs)
|
23 |
+
seed=0
|
24 |
return(output1)
|
25 |
def send_it2(inputs,proc2=proc2):
|
26 |
output2=proc2(inputs)
|