cadyderwin commited on
Commit
58e3643
·
verified ·
1 Parent(s): 7862a5d

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def my_api(text):
4
+ return f"You said: {text}"
5
+
6
+ iface = gr.Interface(fn=my_api, inputs="text", outputs="text")
7
+
8
+ iface.launch()