Clémentine
commited on
Commit
·
096bf86
1
Parent(s):
5906706
gitignore
Browse files- .gitignore +2 -0
- README.md +0 -2
- utils/jobs.py +1 -1
.gitignore
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
__pycache__/
|
| 2 |
+
.vscode
|
README.md
CHANGED
|
@@ -51,8 +51,6 @@ Run the Gradio app:
|
|
| 51 |
python app.py
|
| 52 |
```
|
| 53 |
|
| 54 |
-
The dashboard will be available at `http://localhost:7860`
|
| 55 |
-
|
| 56 |
### Initialize Models and Providers
|
| 57 |
|
| 58 |
1. Click the **"Fetch and Initialize Models/Providers"** button to automatically populate the `models_providers.txt` file with popular models and their available inference providers.
|
|
|
|
| 51 |
python app.py
|
| 52 |
```
|
| 53 |
|
|
|
|
|
|
|
| 54 |
### Initialize Models and Providers
|
| 55 |
|
| 56 |
1. Click the **"Fetch and Initialize Models/Providers"** button to automatically populate the `models_providers.txt` file with popular models and their available inference providers.
|
utils/jobs.py
CHANGED
|
@@ -16,7 +16,7 @@ def extract_score_from_job(job_id: str) -> Optional[float]:
|
|
| 16 |
"""
|
| 17 |
try:
|
| 18 |
# Inspect the job to get details and logs
|
| 19 |
-
logs = fetch_job_logs(job_id=job_id)
|
| 20 |
|
| 21 |
scores = []
|
| 22 |
|
|
|
|
| 16 |
"""
|
| 17 |
try:
|
| 18 |
# Inspect the job to get details and logs
|
| 19 |
+
logs = fetch_job_logs(job_id=job_id, namespace=globals.NAMESPACE)
|
| 20 |
|
| 21 |
scores = []
|
| 22 |
|