trysem commited on
Commit
a31df59
·
1 Parent(s): 1c254d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -67,7 +67,7 @@ def send_it3(inputs, noise_level, proc1=proc1):
67
 
68
 
69
 
70
- with gr.Blocks() as myface:
71
  with gr.Row():
72
 
73
  input_text=gr.Textbox(label="Short Prompt")
@@ -104,7 +104,6 @@ with gr.Blocks() 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
  title = "Photoreal"
107
- demo = gr.Blocks(title=title,css="footer {visibility: hidden}")
108
  demo.encrypt = False
109
 
110
 
 
67
 
68
 
69
 
70
+ with gr.Blocks(title=title,css="footer {visibility: hidden}") as myface:
71
  with gr.Row():
72
 
73
  input_text=gr.Textbox(label="Short Prompt")
 
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.encrypt = False
108
 
109