Moibe commited on
Commit
c9acc9e
·
1 Parent(s): c95ae24

Textbox console, boton visible

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -110,10 +110,9 @@ destination_image = gr.Image(label="Destination")
110
 
111
  #Outputs
112
  result_image = gr.Image(label="Blend")
113
- lbl_msg = gr.Label("AI Engine ready...")
114
- btn_buy = gr.Button("Buy More", visible=False, size='lg')
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=[textbox, result_image,lbl_msg, btn_buy],
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)