Update app.py
Browse files
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/
|
12 |
-
proc1=gr.Interface.load("models/
|
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 |
-
|
144 |
-
like_message = gr.Button("
|
145 |
-
with gr.Row():
|
146 |
-
output1=gr.Image(label="
|
147 |
-
output2=gr.Image(label="
|
148 |
-
with gr.Row():
|
149 |
-
output3=gr.Image(label="
|
150 |
-
output4=gr.Image(label="
|
151 |
-
with gr.Row():
|
152 |
-
output5=gr.Image(label="
|
153 |
-
output6=gr.Image(label="
|
154 |
-
with gr.Row():
|
155 |
-
output7=gr.Image(label="
|
156 |
-
output8=gr.Image(label="
|
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])
|