Spaces:
Running
on
Zero
Running
on
Zero
Rijgersberg
commited on
Commit
•
8648e10
1
Parent(s):
5550033
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,8 @@ import spaces
|
|
9 |
import torch
|
10 |
from transformers import AutoModelForCausalLM, AutoTokenizer, TextIteratorStreamer
|
11 |
|
12 |
-
|
|
|
13 |
|
14 |
if not torch.cuda.is_available():
|
15 |
DESCRIPTION += "\n<p>Running on CPU 🥶 This demo does not work on CPU.</p>"
|
|
|
9 |
import torch
|
10 |
from transformers import AutoModelForCausalLM, AutoTokenizer, TextIteratorStreamer
|
11 |
|
12 |
+
HF_TOKEN = os.environ('HF_TOKEN')
|
13 |
+
DESCRIPTION = "# GEITje 7B Chat"
|
14 |
|
15 |
if not torch.cuda.is_available():
|
16 |
DESCRIPTION += "\n<p>Running on CPU 🥶 This demo does not work on CPU.</p>"
|