SrdharMahendran commited on
Commit
e72c420
1 Parent(s): f0f6077

app & requirements files have been added for demo

Browse files
Files changed (2) hide show
  1. app.py +10 -0
  2. requirements.txt +2 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def greet(name):
4
+ return "Hello " + name + "!!"
5
+
6
+ iface = gr.Interface(fn=greet,
7
+ inputs="text",
8
+ outputs="text",
9
+ title = "MedQnA Application")
10
+ iface.launch()
requirements.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ numpy
2
+ gradio