Spaces:
Sleeping
Sleeping
OmPrakashSingh1704
commited on
Commit
•
1bf4970
1
Parent(s):
a3ef492
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import streamlit as st
|
|
2 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
3 |
import torch, re, json,huggingface_hub,os
|
4 |
from datetime import datetime
|
|
|
5 |
huggingface_hub.login(token=os.getenv("huggingface_id"))
|
6 |
|
7 |
# Load model and tokenizer
|
|
|
2 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
3 |
import torch, re, json,huggingface_hub,os
|
4 |
from datetime import datetime
|
5 |
+
print(os.getenv("huggingface_id"))
|
6 |
huggingface_hub.login(token=os.getenv("huggingface_id"))
|
7 |
|
8 |
# Load model and tokenizer
|