phenomenon1981 commited on
Commit
0682054
1 Parent(s): 89846d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -7,7 +7,9 @@ from pathlib import Path
7
 
8
  text_gen=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion")
9
 
10
-
 
 
11
  proc1=gr.Interface.load("models/dreamlike-art/dreamlike-photoreal-2.0")
12
  proc2=gr.Interface.load("models/dreamlike-art/dreamlike-photoreal-2.0")
13
  proc3=gr.Interface.load("models/dreamlike-art/dreamlike-photoreal-2.0")
@@ -80,8 +82,6 @@ with gr.Blocks() as myface:
80
  #run.click(set_models, inputs=[model_name1, model_name2, model_name3, model_name4], outputs=[proc1,proc2,proc3,proc4])
81
  #run.click(send_it, inputs=[prompt], outputs=[output1, output2, output3, output4])
82
 
83
- seed = gr.Slider(
84
- 0, 2147483647, label="Seed (0 = random)", value=0, step=1
85
 
86
  see_prompts.click(get_prompts, inputs=[input_text], outputs=[prompt])
87
 
 
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")
 
82
  #run.click(set_models, inputs=[model_name1, model_name2, model_name3, model_name4], outputs=[proc1,proc2,proc3,proc4])
83
  #run.click(send_it, inputs=[prompt], outputs=[output1, output2, output3, output4])
84
 
 
 
85
 
86
  see_prompts.click(get_prompts, inputs=[input_text], outputs=[prompt])
87