Spaces:
Sleeping
Sleeping
Interface on blocks
Browse files
app.py
CHANGED
@@ -87,11 +87,15 @@ label = gr.Label("Hola!")
|
|
87 |
buy = gr.Button("Buy More", visible=True, size='lg')
|
88 |
imagen = gr.Image('no-result.png', show_download_button=False, visible=True)
|
89 |
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
|
|
|
|
|
|
|
|
|
87 |
buy = gr.Button("Buy More", visible=True, size='lg')
|
88 |
imagen = gr.Image('no-result.png', show_download_button=False, visible=True)
|
89 |
|
90 |
+
with gr.Blocks() as main:
|
91 |
+
|
92 |
+
demo = gr.Interface(
|
93 |
+
fn=perform,
|
94 |
+
title="",
|
95 |
+
inputs=[gr.Image(), gr.Image()],
|
96 |
+
outputs=[gr.Image(),label, buy, imagen],
|
97 |
+
css="footer {visibility: hidden}"
|
98 |
+
)
|
99 |
+
|
100 |
+
main.launch(auth=authenticate)
|
101 |
+
#demo.launch(auth=authenticate)
|