Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,9 +8,6 @@ import time
|
|
8 |
from queue import Queue
|
9 |
from threading import Thread
|
10 |
|
11 |
-
title = "Photoreal"
|
12 |
-
demo = gr.Blocks(title=title,css="footer {visibility: hidden}")
|
13 |
-
demo.encrypt = False
|
14 |
text_gen=gr.Interface.load("spaces/trysem/visua")
|
15 |
def get_prompts(prompt_text):
|
16 |
return text_gen(prompt_text)
|
@@ -106,6 +103,9 @@ with gr.Blocks() as myface:
|
|
106 |
#run.click(send_it6, inputs=[prompt, noise_level], outputs=[output6])
|
107 |
#run.click(send_it7, inputs=[prompt, noise_level], outputs=[output7])
|
108 |
#run.click(send_it8, inputs=[prompt, noise_level], outputs=[output8])
|
|
|
|
|
|
|
109 |
|
110 |
|
111 |
myface.launch(enable_queue=True, inline=True)
|
|
|
8 |
from queue import Queue
|
9 |
from threading import Thread
|
10 |
|
|
|
|
|
|
|
11 |
text_gen=gr.Interface.load("spaces/trysem/visua")
|
12 |
def get_prompts(prompt_text):
|
13 |
return text_gen(prompt_text)
|
|
|
103 |
#run.click(send_it6, inputs=[prompt, noise_level], outputs=[output6])
|
104 |
#run.click(send_it7, inputs=[prompt, noise_level], outputs=[output7])
|
105 |
#run.click(send_it8, inputs=[prompt, noise_level], outputs=[output8])
|
106 |
+
title = "Photoreal"
|
107 |
+
demo = gr.Blocks(title=title,css="footer {visibility: hidden}")
|
108 |
+
demo.encrypt = False
|
109 |
|
110 |
|
111 |
myface.launch(enable_queue=True, inline=True)
|