Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -65,9 +65,11 @@ def send_it3(inputs, noise_level, proc1=proc1):
|
|
| 65 |
#return output4
|
| 66 |
|
| 67 |
|
| 68 |
-
|
| 69 |
title = "Photoreal"
|
| 70 |
-
|
|
|
|
|
|
|
|
|
|
| 71 |
with gr.Row():
|
| 72 |
|
| 73 |
input_text=gr.Textbox(label="Short Prompt")
|
|
@@ -104,7 +106,6 @@ with gr.Blocks(title=title,css="footer {visibility: hidden}") as myface:
|
|
| 104 |
#run.click(send_it7, inputs=[prompt, noise_level], outputs=[output7])
|
| 105 |
#run.click(send_it8, inputs=[prompt, noise_level], outputs=[output8])
|
| 106 |
|
| 107 |
-
demo.encrypt = False
|
| 108 |
|
| 109 |
|
| 110 |
myface.launch(enable_queue=True, inline=True)
|
|
|
|
| 65 |
#return output4
|
| 66 |
|
| 67 |
|
|
|
|
| 68 |
title = "Photoreal"
|
| 69 |
+
demo = gr.Blocks(title=title,css="footer {visibility: hidden}")
|
| 70 |
+
demo.encrypt = False
|
| 71 |
+
|
| 72 |
+
with gr.Blocks() as myface:
|
| 73 |
with gr.Row():
|
| 74 |
|
| 75 |
input_text=gr.Textbox(label="Short Prompt")
|
|
|
|
| 106 |
#run.click(send_it7, inputs=[prompt, noise_level], outputs=[output7])
|
| 107 |
#run.click(send_it8, inputs=[prompt, noise_level], outputs=[output8])
|
| 108 |
|
|
|
|
| 109 |
|
| 110 |
|
| 111 |
myface.launch(enable_queue=True, inline=True)
|