Spaces:
Sleeping
Sleeping
Output to markdown
Browse files
app.py
CHANGED
@@ -100,11 +100,15 @@ def cambio():
|
|
100 |
|
101 |
print("Ejecutando change...")
|
102 |
|
103 |
-
|
|
|
|
|
|
|
104 |
|
105 |
-
|
106 |
|
107 |
-
|
|
|
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=
|
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 |
|