sdgzero2ai commited on
Commit
31f63f0
·
verified ·
1 Parent(s): fdb4bfd

Create main.py

Browse files
Files changed (1) hide show
  1. main.py +9 -0
main.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()