Mo-alaa commited on
Commit
8015ffa
·
verified ·
1 Parent(s): f9663c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ from PIL import Image
9
  import json
10
  from model import model,tokenizer
11
 
12
- API = st.secrets("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: