Spaces:
Runtime error
Runtime error
khadija3818
commited on
Commit
•
e4a399b
1
Parent(s):
492d9f6
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import torch
|
|
5 |
app = Flask(__name__)
|
6 |
|
7 |
# Load the pre-trained model and tokenizer
|
8 |
-
model_name = "
|
9 |
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
10 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
11 |
|
|
|
5 |
app = Flask(__name__)
|
6 |
|
7 |
# Load the pre-trained model and tokenizer
|
8 |
+
model_name = "https://huggingface.co/atreyuNew/medical_question_answering_chat_Llama2" # Change this to your desired model
|
9 |
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
10 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
11 |
|