Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import streamlit as st
|
2 |
# Load model directly
|
3 |
# from transformers import AutoModel, AutoModelForCausalLM
|
4 |
-
|
5 |
import os
|
6 |
|
7 |
access_token = os.getenv('HF_TOKEN')
|
|
|
1 |
import streamlit as st
|
2 |
# Load model directly
|
3 |
# from transformers import AutoModel, AutoModelForCausalLM
|
4 |
+
from huggingface_hub import login
|
5 |
import os
|
6 |
|
7 |
access_token = os.getenv('HF_TOKEN')
|