rjiang12 commited on
Commit
d637d96
·
1 Parent(s): 481fbd6

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def func(sentence):
4
+ return f"your sentence was \"{sentence}\"!"
5
+
6
+ demo = gr.Interface(fn=func, inputs="text", outputs="text")
7
+
8
+ if __name__ == "__main__":
9
+ demo.launch()