Commit ·
b460b06
1
Parent(s): 5a9e2f4
fix hf_token to token
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ PRIVATE_SPACE_ID = "LLM-course/lipogram_private"
|
|
| 7 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
| 8 |
|
| 9 |
# 2. Connect to the Private Evaluator
|
| 10 |
-
client = Client(PRIVATE_SPACE_ID,
|
| 11 |
|
| 12 |
def submit_challenge(file):
|
| 13 |
if file is None:
|
|
|
|
| 7 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
| 8 |
|
| 9 |
# 2. Connect to the Private Evaluator
|
| 10 |
+
client = Client(PRIVATE_SPACE_ID, token=HF_TOKEN)
|
| 11 |
|
| 12 |
def submit_challenge(file):
|
| 13 |
if file is None:
|