sdgzero2ai commited on
Commit
636c068
·
verified ·
1 Parent(s): ff28ae4

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 test(input_text):
4
+ return f"Your text was: {input_text}"
5
+
6
+ demo = gr.Interface(fn=test, inputs="text", outputs="text")
7
+
8
+ if __name__ == "__main__":
9
+ demo.launch()