Spaces:
Runtime error
Runtime error
Commit ·
f904863
1
Parent(s): 3bea081
Update bootstrap config to trigger rebuild using production v1 model
Browse files
app.py
CHANGED
|
@@ -4,6 +4,7 @@ import subprocess
|
|
| 4 |
from pathlib import Path
|
| 5 |
|
| 6 |
# 1. Retrieve the GitHub token
|
|
|
|
| 7 |
token = os.environ.get("GITHUB_TOKEN") or os.environ.get("PAT")
|
| 8 |
if not token:
|
| 9 |
raise ValueError("Please set the GITHUB_TOKEN or PAT secret in Space settings.")
|
|
|
|
| 4 |
from pathlib import Path
|
| 5 |
|
| 6 |
# 1. Retrieve the GitHub token
|
| 7 |
+
# Configured default model: ai4data/datause-extraction-v1
|
| 8 |
token = os.environ.get("GITHUB_TOKEN") or os.environ.get("PAT")
|
| 9 |
if not token:
|
| 10 |
raise ValueError("Please set the GITHUB_TOKEN or PAT secret in Space settings.")
|