Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,8 @@ from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
4 |
import torch
|
5 |
from huggingface_hub import login # For authentication
|
6 |
import os
|
|
|
|
|
7 |
|
8 |
# Authenticate with Hugging Face
|
9 |
def authenticate_huggingface():
|
|
|
4 |
import torch
|
5 |
from huggingface_hub import login # For authentication
|
6 |
import os
|
7 |
+
from dotenv import load_dotenv
|
8 |
+
load_dotenv()
|
9 |
|
10 |
# Authenticate with Hugging Face
|
11 |
def authenticate_huggingface():
|