Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import torch
|
|
4 |
# from huggingface_hub import log
|
5 |
|
6 |
# Cấu hình mô hình
|
7 |
-
MODEL = "
|
8 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
9 |
print('device =', device)
|
10 |
|
|
|
4 |
# from huggingface_hub import log
|
5 |
|
6 |
# Cấu hình mô hình
|
7 |
+
MODEL = "thviet79/model-QA-medical-2024"
|
8 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
9 |
print('device =', device)
|
10 |
|