Moibe commited on
Commit
f0c3b3f
·
1 Parent(s): a0c1d08

Texto markdown desde fuera

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -95,6 +95,10 @@ lbl_msg = gr.Label("AI Engine ready...")
95
  btn_buy = gr.Button("Buy More", visible=True, size='lg')
96
  result_image = gr.Image()
97
  textbox = gr.Textbox("Nuevo textbox", interactive=False)
 
 
 
 
98
 
99
  def cambio():
100
 
@@ -112,12 +116,9 @@ with gr.Blocks(css="footer {visibility: hidden}") as main:
112
 
113
  with gr.Row():
114
 
 
115
  nueva_label = gr.Label("Credits")
116
- mrk_title = gr.Markdown(
117
- """
118
- # Hello World! {variable}
119
- Start typing below to see the output.
120
- """)
121
 
122
  #lbl_msg.change(fn=cambio, lbl_msg)
123
  btn_buy.click(fn=cambio, outputs=mrk_title)
 
95
  btn_buy = gr.Button("Buy More", visible=True, size='lg')
96
  result_image = gr.Image()
97
  textbox = gr.Textbox("Nuevo textbox", interactive=False)
98
+ texto_del_markdown = """
99
+ # Hello World! {variable}
100
+ Start typing below to see the output.
101
+ """
102
 
103
  def cambio():
104
 
 
116
 
117
  with gr.Row():
118
 
119
+ mrk_title = gr.Markdown(texto_del_markdown)
120
  nueva_label = gr.Label("Credits")
121
+
 
 
 
 
122
 
123
  #lbl_msg.change(fn=cambio, lbl_msg)
124
  btn_buy.click(fn=cambio, outputs=mrk_title)