Update app.py
Browse files
app.py
CHANGED
@@ -4,8 +4,10 @@ import gradio as gr
|
|
4 |
from huggingface_hub import login
|
5 |
import torch
|
6 |
import os
|
|
|
7 |
hf_token = os.getenv("HF_token")
|
8 |
print(hf_token)
|
|
|
9 |
assert hf_token is not None, "Token is missing! Make sure 'llama' is set in the environment."
|
10 |
#login(hf_token)
|
11 |
# Model and adapter paths
|
|
|
4 |
from huggingface_hub import login
|
5 |
import torch
|
6 |
import os
|
7 |
+
|
8 |
hf_token = os.getenv("HF_token")
|
9 |
print(hf_token)
|
10 |
+
|
11 |
assert hf_token is not None, "Token is missing! Make sure 'llama' is set in the environment."
|
12 |
#login(hf_token)
|
13 |
# Model and adapter paths
|