Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ from PIL import Image
|
|
9 |
import json
|
10 |
from model import model,tokenizer
|
11 |
|
12 |
-
API =
|
13 |
# Load existing ideas from a file
|
14 |
def load_ideas():
|
15 |
try:
|
|
|
9 |
import json
|
10 |
from model import model,tokenizer
|
11 |
|
12 |
+
API = os.environ.get("HUGGINGFACEHUB_API_TOKEN")
|
13 |
# Load existing ideas from a file
|
14 |
def load_ideas():
|
15 |
try:
|