srivarshan commited on
Commit
3c7ad8d
·
1 Parent(s): bac8bd7

Add Gradio Interface calling script

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 analyze(name):
4
+ return "Hello, World!"
5
+
6
+ app = gr.Interface(fn=analyze, inputs="text", outputs="text")
7
+
8
+ # app.launch(share="True")
9
+ app.launch()