Spaces:
Sleeping
Sleeping
Commit
·
c42fa4f
1
Parent(s):
e800949
fixed token issue
Browse files
app.py
CHANGED
@@ -108,9 +108,9 @@ import torch
|
|
108 |
from transformers import AutoProcessor, Gemma3ForConditionalGeneration, TextIteratorStreamer
|
109 |
import os
|
110 |
from huggingface_hub import login
|
|
|
111 |
|
112 |
-
|
113 |
-
login(token=hf_token)
|
114 |
|
115 |
|
116 |
|
|
|
108 |
from transformers import AutoProcessor, Gemma3ForConditionalGeneration, TextIteratorStreamer
|
109 |
import os
|
110 |
from huggingface_hub import login
|
111 |
+
import os
|
112 |
|
113 |
+
login(token=os.getenv("hf_token") )
|
|
|
114 |
|
115 |
|
116 |
|