ybang commited on
Commit
9ea6dac
·
verified ·
1 Parent(s): 69b0b70

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
app.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def test_function(text_input):
4
+ return f"You said: {text_input}"
5
+
6
+ # Simple interface to test
7
+ demo = gr.Interface(
8
+ fn=test_function,
9
+ inputs=gr.Textbox(label="Test Input"),
10
+ outputs=gr.Textbox(label="Output"),
11
+ title="My Test App"
12
+ )
13
+
14
+ demo.launch()