Spaces:
Sleeping
Sleeping
Textbox console, boton visible
Browse files
app.py
CHANGED
@@ -110,10 +110,9 @@ destination_image = gr.Image(label="Destination")
|
|
110 |
|
111 |
#Outputs
|
112 |
result_image = gr.Image(label="Blend")
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
textbox = gr.Textbox(label="Console", value="Nuevo textbox", interactive=False)
|
117 |
|
118 |
#Gradio themes:
|
119 |
# — gr.themes.Base()
|
@@ -140,7 +139,7 @@ with gr.Blocks(css="footer {visibility: hidden}", theme=gr.themes.Base()) as mai
|
|
140 |
fn=perform,
|
141 |
title="",
|
142 |
inputs=[source_image, destination_image],
|
143 |
-
outputs=[
|
144 |
)
|
145 |
|
146 |
main.launch(auth=authenticate)
|
|
|
110 |
|
111 |
#Outputs
|
112 |
result_image = gr.Image(label="Blend")
|
113 |
+
txt_console = gr.Textbox(label="Console", value="AI Engine Ready...", interactive=False)
|
114 |
+
lbl_console = gr.Label("AI Engine ready...")
|
115 |
+
btn_buy = gr.Button("Buy More", visible=True, size='lg')
|
|
|
116 |
|
117 |
#Gradio themes:
|
118 |
# — gr.themes.Base()
|
|
|
139 |
fn=perform,
|
140 |
title="",
|
141 |
inputs=[source_image, destination_image],
|
142 |
+
outputs=[txt_console, result_image, lbl_console, btn_buy],
|
143 |
)
|
144 |
|
145 |
main.launch(auth=authenticate)
|