Fangyu Liu commited on
Commit
7522c5d
1 Parent(s): fdac8dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,8 +5,8 @@ import os
5
 
6
  ##Bloom
7
  API_URL = "https://api-inference.huggingface.co/models/bigscience/bloom"
8
- HF_TOKEN = os.environ["HF_TOKEN"]
9
- headers = {"Authorization": f"Bearer {HF_TOKEN}"}
10
 
11
  def _add_markup(table):
12
  parts = [p.strip() for p in table.splitlines(keepends=False)]
 
5
 
6
  ##Bloom
7
  API_URL = "https://api-inference.huggingface.co/models/bigscience/bloom"
8
+ HF_API_TOKEN = os.getenv["HF_API_TOKEN"]
9
+ headers = {"Authorization": f"Bearer {HF_API_TOKEN}"}
10
 
11
  def _add_markup(table):
12
  parts = [p.strip() for p in table.splitlines(keepends=False)]