Moibe commited on
Commit
cbd39af
·
1 Parent(s): 429bfd1

Labels position

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -104,18 +104,20 @@ def cambio():
104
 
105
  with gr.Blocks(css="footer {visibility: hidden}") as main:
106
 
107
- #lbl_msg.change(fn=cambio, lbl_msg)
108
- btn_buy.click(fn=cambio, outputs=lbl_msg)
109
 
110
  with gr.Row():
111
 
112
  lbl_credits = gr.Label()
113
- gr.Label("Credits")
114
  mrk_title = gr.Markdown(
115
  """
116
  # Hello World!
117
  Start typing below to see the output.
118
  """)
 
 
 
119
 
120
  with gr.Row():
121
 
 
104
 
105
  with gr.Blocks(css="footer {visibility: hidden}") as main:
106
 
107
+
 
108
 
109
  with gr.Row():
110
 
111
  lbl_credits = gr.Label()
112
+ nueva_label = gr.Label("Credits")
113
  mrk_title = gr.Markdown(
114
  """
115
  # Hello World!
116
  Start typing below to see the output.
117
  """)
118
+
119
+ #lbl_msg.change(fn=cambio, lbl_msg)
120
+ btn_buy.click(fn=cambio, outputs=nueva_label)
121
 
122
  with gr.Row():
123