Moibe commited on
Commit
2d1534b
·
1 Parent(s): e8aad27

Interface as blocks

Browse files
Files changed (1) hide show
  1. app.py +7 -4
app.py CHANGED
@@ -66,13 +66,16 @@ def bienvenida():
66
 
67
 
68
 
69
- #Así para imagenes
70
- demo = gr.Interface(
71
- fn=perform, inputs=[gr.Image(), gr.Image()], outputs=[gr.Image()]
72
- )
73
  #demo.launch()
74
  with gr.Blocks() as demo:
 
 
 
 
75
 
76
  demo.load(bienvenida)
 
 
77
 
78
  demo.launch(auth=authenticate)
 
66
 
67
 
68
 
69
+
 
 
 
70
  #demo.launch()
71
  with gr.Blocks() as demo:
72
+
73
+ demo = gr.Interface(
74
+ fn=perform, inputs=[gr.Image(), gr.Image()], outputs=[gr.Image()]
75
+ )
76
 
77
  demo.load(bienvenida)
78
+ #Así para imagenes
79
+
80
 
81
  demo.launch(auth=authenticate)