omer15699 commited on
Commit
3814bb1
verified
1 Parent(s): 1a1214d

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def echo(txt):
4
+ return f"馃摙 拽讬讘诇转讬: {txt}"
5
+
6
+ with gr.Blocks(title="Tweet UI - sanity") as demo:
7
+ gr.Markdown("### Hello! 转讻转讜讘 诪砖讛讜 讜诇讞抓 砖诇讞")
8
+ inp = gr.Textbox(label="讟拽住讟")
9
+ btn = gr.Button("砖诇讞")
10
+ out = gr.Textbox(label="转砖讜讘讛", interactive=False)
11
+ btn.click(fn=echo, inputs=inp, outputs=out)
12
+
13
+ demo.queue().launch()