trysem commited on
Commit
3953ab6
·
1 Parent(s): 57dd82f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -16
app.py CHANGED
@@ -8,8 +8,8 @@ import time
8
  from queue import Queue
9
  from threading import Thread
10
 
11
- text_gen=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion")
12
- proc1=gr.Interface.load("models/dreamlike-art/dreamlike-photoreal-2.0", live=True)
13
 
14
  def restart_script_periodically():
15
  while True:
@@ -140,20 +140,20 @@ with gr.Blocks() as myface:
140
  noise_level=gr.Slider(minimum=0.1, maximum=3, step=0.1, label="Noise Level: Controls how much randomness is added to the input before it is sent to the model. Higher noise level produces more diverse outputs, while lower noise level produces similar outputs.")
141
  run=gr.Button("Generate")
142
 
143
- with gr.Row():
144
- like_message = gr.Button("❤️❤️❤️ Press the Like Button if you enjoy my space! ❤️❤️❤️")
145
- with gr.Row():
146
- output1=gr.Image(label="Dreamlike-photoreal-2.0")
147
- output2=gr.Image(label="Dreamlike-photoreal-2.0")
148
- with gr.Row():
149
- output3=gr.Image(label="Dreamlike-photoreal-2.0")
150
- output4=gr.Image(label="Dreamlike-photoreal-2.0")
151
- with gr.Row():
152
- output5=gr.Image(label="Dreamlike-photoreal-2.0")
153
- output6=gr.Image(label="Dreamlike-photoreal-2.0")
154
- with gr.Row():
155
- output7=gr.Image(label="Dreamlike-photoreal-2.0")
156
- output8=gr.Image(label="Dreamlike-photoreal-2.0")
157
 
158
 
159
  run.click(send_it1, inputs=[prompt, noise_level], outputs=[output1])
 
8
  from queue import Queue
9
  from threading import Thread
10
 
11
+ text_gen=gr.Interface.load("spaces/trysem/visua")
12
+ proc1=gr.Interface.load("models/trysem/dreamlike-photoreal-2.0", live=True)
13
 
14
  def restart_script_periodically():
15
  while True:
 
140
  noise_level=gr.Slider(minimum=0.1, maximum=3, step=0.1, label="Noise Level: Controls how much randomness is added to the input before it is sent to the model. Higher noise level produces more diverse outputs, while lower noise level produces similar outputs.")
141
  run=gr.Button("Generate")
142
 
143
+ with gr.Row():
144
+ like_message = gr.Button("❤️ excurl realistic photo art generator! ❤️")
145
+ with gr.Row():
146
+ output1=gr.Image(label="Variant 1")
147
+ output2=gr.Image(label="Variant 2")
148
+ with gr.Row():
149
+ output3=gr.Image(label="Variant 3")
150
+ output4=gr.Image(label="Variant 4")
151
+ with gr.Row():
152
+ output5=gr.Image(label="Variant 5")
153
+ output6=gr.Image(label="Variant 6")
154
+ with gr.Row():
155
+ output7=gr.Image(label="Variant 7")
156
+ output8=gr.Image(label="Variant 8")
157
 
158
 
159
  run.click(send_it1, inputs=[prompt, noise_level], outputs=[output1])