sehatguard commited on
Commit
5c809d9
·
verified ·
1 Parent(s): 89d941d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,8 +1,8 @@
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
- # Load a more suitable model for medical diagnosis (BioBERT)
5
- model = pipeline("zero-shot-classification", model="dmis-lab/biobert-base-cased-v1.1")
6
 
7
  # Candidate labels for medical diagnosis
8
  candidate_labels = [
 
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
+ # Use a zero-shot classification model
5
+ model = pipeline("zero-shot-classification", model="facebook/bart-large-mnli")
6
 
7
  # Candidate labels for medical diagnosis
8
  candidate_labels = [