Moibe commited on
Commit
d3c015a
·
1 Parent(s): 82e4df8

Output to markdown

Browse files
Files changed (1) hide show
  1. app.py +8 -4
app.py CHANGED
@@ -100,11 +100,15 @@ def cambio():
100
 
101
  print("Ejecutando change...")
102
 
103
- return "Verdadero"
 
 
 
104
 
105
- with gr.Blocks(css="footer {visibility: hidden}") as main:
106
 
107
- variable = "CUADRADO"
 
108
 
109
  with gr.Row():
110
 
@@ -117,7 +121,7 @@ with gr.Blocks(css="footer {visibility: hidden}") as main:
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
 
 
100
 
101
  print("Ejecutando change...")
102
 
103
+ nuevo_markdown = """
104
+ # Hello World! {variable}
105
+ Start typing below to see the output.
106
+ """
107
 
108
+ return nuevo_markdown
109
 
110
+ with gr.Blocks(css="footer {visibility: hidden}") as main:
111
+
112
 
113
  with gr.Row():
114
 
 
121
  """)
122
 
123
  #lbl_msg.change(fn=cambio, lbl_msg)
124
+ btn_buy.click(fn=cambio, outputs=mrk_title)
125
 
126
  with gr.Row():
127