Spaces:
Sleeping
Sleeping
JaiPatel4717
commited on
Commit
•
e4e473d
1
Parent(s):
dc59162
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import torch
|
|
4 |
|
5 |
# Load the model and tokenizer
|
6 |
model_name = "Tom158/Nutri_Assist"
|
7 |
-
model = AutoModelForCausalLM.from_pretrained(model_name
|
8 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
9 |
|
10 |
# Set pad token if not already set
|
|
|
4 |
|
5 |
# Load the model and tokenizer
|
6 |
model_name = "Tom158/Nutri_Assist"
|
7 |
+
model = AutoModelForCausalLM.from_pretrained(model_name)
|
8 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
9 |
|
10 |
# Set pad token if not already set
|