Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,8 @@ client = rg.Argilla(
|
|
| 13 |
api_key=os.getenv("ARGILLA_API_KEY"),
|
| 14 |
)
|
| 15 |
|
| 16 |
-
global selected_dataset
|
|
|
|
| 17 |
|
| 18 |
def get_progress(dataset: rg.Dataset) -> dict:
|
| 19 |
dataset_progress = dataset.progress(with_users_distribution=True)
|
|
|
|
| 13 |
api_key=os.getenv("ARGILLA_API_KEY"),
|
| 14 |
)
|
| 15 |
|
| 16 |
+
global selected_dataset
|
| 17 |
+
selected_dataset = os.getenv("DATASET_NAME")
|
| 18 |
|
| 19 |
def get_progress(dataset: rg.Dataset) -> dict:
|
| 20 |
dataset_progress = dataset.progress(with_users_distribution=True)
|