dvinodh commited on
Commit
b48d4fe
1 Parent(s): 1fb0de7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -5
app.py CHANGED
@@ -1,7 +1,9 @@
1
  import gradio as gr
 
 
 
 
 
 
2
 
3
- def greet(name):
4
- return "Hello " + name + "!!"
5
-
6
- iface = gr.Interface(fn=greet, inputs="text", outputs="text")
7
- iface.launch()
 
1
  import gradio as gr
2
+ title = "Medical Entity Mask Language Modeling (MLM)"
3
+ description = "Medical Entity Feature Extraction uses Match Language Modeling to fill in the blank with likely word classification based on context."
4
+ article = "<p style='text-align: center'></p>"
5
+ examples = [
6
+ ["Cough"],["Fever"],["No Smell"]
7
+ ]
8
 
9
+ gr.Interface.load("huggingface/ajitrajasekharan/biomedical",title=title,description=description,article=article, examples=examples, allow_flagging="never",enable_queue=True).launch()