Moibe commited on
Commit
5e3005f
·
1 Parent(s): cbd39af

Testing textbox

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -95,6 +95,7 @@ def perform(input1, input2):
95
  lbl_msg = gr.Label("AI Engine ready...")
96
  btn_buy = gr.Button("Buy More", visible=True, size='lg')
97
  result_image = gr.Image()
 
98
 
99
  def cambio():
100
 
@@ -125,7 +126,7 @@ with gr.Blocks(css="footer {visibility: hidden}") as main:
125
  fn=perform,
126
  title="",
127
  inputs=[gr.Image(), gr.Image()],
128
- outputs=[result_image,lbl_msg, btn_buy],
129
  )
130
 
131
  main.launch(auth=authenticate)
 
95
  lbl_msg = gr.Label("AI Engine ready...")
96
  btn_buy = gr.Button("Buy More", visible=True, size='lg')
97
  result_image = gr.Image()
98
+ textbox = gr.Textbox("Nuevo textbox", interactive=False)
99
 
100
  def cambio():
101
 
 
126
  fn=perform,
127
  title="",
128
  inputs=[gr.Image(), gr.Image()],
129
+ outputs=[textbox, result_image,lbl_msg, btn_buy],
130
  )
131
 
132
  main.launch(auth=authenticate)