Spaces:
Sleeping
Sleeping
create dummy
Browse files
app.py
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
def fun():
|
4 |
+
msg = "This is sample markdown message"
|
5 |
+
return msg, msg
|
6 |
+
|
7 |
+
with gr.Blocks() as demo:
|
8 |
+
b1 =gr.Button()
|
9 |
+
text_out = gr.Textbox()
|
10 |
+
html_out = gr.HTML()
|
11 |
+
b1.click(fun, [], [text_out, html_out])
|
12 |
+
|
13 |
+
demo.launch()
|