abidlabs HF Staff commited on
Commit
1e62c55
·
verified ·
1 Parent(s): e7eecb8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -1,9 +1,10 @@
1
  import gradio as gr
2
 
3
- def test(x):
4
- return
5
 
6
  with gr.Blocks() as demo:
7
- pass
 
8
 
9
  demo.launch()
 
1
  import gradio as gr
2
 
3
+ def test():
4
+ return "Hello"
5
 
6
  with gr.Blocks() as demo:
7
+ t = gr.Textbox()
8
+ demo.launch(test, None, t)
9
 
10
  demo.launch()