Moibe commited on
Commit
d32dab0
·
1 Parent(s): e036a83

add gr.blocks

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -68,5 +68,8 @@ demo = gr.Interface(
68
  fn=perform, inputs=[gr.Image(), gr.Image()], outputs=[gr.Image()]
69
  )
70
  #demo.launch()
71
- demo.load(bienvenida)
 
 
 
72
  demo.launch(auth=authenticate)
 
68
  fn=perform, inputs=[gr.Image(), gr.Image()], outputs=[gr.Image()]
69
  )
70
  #demo.launch()
71
+ with gr.Blocks() as demo:
72
+
73
+ demo.load(bienvenida)
74
+
75
  demo.launch(auth=authenticate)