Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import gradio as gr
|
|
7 |
# access token with permission to access the model and PRO subscription
|
8 |
HUGGINGFACEHUB_API_TOKEN = os.getenv("HF_ACCESS_READ")
|
9 |
OAI_API_KEY=os.getenv("OPENAI_API_KEY")
|
10 |
-
login(token=HUGGINGFACEHUB_API_TOKEN)
|
11 |
|
12 |
# tokenizer for generating prompt
|
13 |
tokenizer = AutoTokenizer.from_pretrained("meta-llama/Llama-2-70b-chat-hf")
|
|
|
7 |
# access token with permission to access the model and PRO subscription
|
8 |
HUGGINGFACEHUB_API_TOKEN = os.getenv("HF_ACCESS_READ")
|
9 |
OAI_API_KEY=os.getenv("OPENAI_API_KEY")
|
10 |
+
#login(token=HUGGINGFACEHUB_API_TOKEN)
|
11 |
|
12 |
# tokenizer for generating prompt
|
13 |
tokenizer = AutoTokenizer.from_pretrained("meta-llama/Llama-2-70b-chat-hf")
|