Spaces:
Runtime error
Runtime error
Merge pull request #27 from huggingface/tweak-test
Browse files
app.py
CHANGED
|
@@ -131,7 +131,7 @@ st.markdown(
|
|
| 131 |
across a wide variety of [datasets](https://huggingface.co/datasets) on the
|
| 132 |
Hub. Please select the dataset and configuration below. The results of your
|
| 133 |
evaluation will be displayed on the [public
|
| 134 |
-
|
| 135 |
"""
|
| 136 |
)
|
| 137 |
|
|
@@ -495,13 +495,17 @@ with st.form(key="form"):
|
|
| 495 |
).json()
|
| 496 |
print(f"INFO -- AutoTrain job response: {train_json_resp}")
|
| 497 |
if train_json_resp["success"]:
|
| 498 |
-
st.success(
|
| 499 |
st.markdown(
|
| 500 |
f"""
|
| 501 |
-
Evaluation can take up to 1 hour to complete, so grab a
|
| 502 |
-
|
| 503 |
-
|
| 504 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 505 |
"""
|
| 506 |
)
|
| 507 |
print("INFO -- Pushing evaluation job logs to the Hub")
|
|
|
|
| 131 |
across a wide variety of [datasets](https://huggingface.co/datasets) on the
|
| 132 |
Hub. Please select the dataset and configuration below. The results of your
|
| 133 |
evaluation will be displayed on the [public
|
| 134 |
+
leaderboards](https://huggingface.co/spaces/autoevaluate/leaderboards).
|
| 135 |
"""
|
| 136 |
)
|
| 137 |
|
|
|
|
| 495 |
).json()
|
| 496 |
print(f"INFO -- AutoTrain job response: {train_json_resp}")
|
| 497 |
if train_json_resp["success"]:
|
| 498 |
+
st.success("β
Successfully submitted evaluation job!")
|
| 499 |
st.markdown(
|
| 500 |
f"""
|
| 501 |
+
Evaluation can take up to 1 hour to complete, so grab a βοΈ or π΅ while you wait:
|
| 502 |
+
|
| 503 |
+
* π A \
|
| 504 |
+
[Hub pull request](https://huggingface.co/docs/hub/repositories-pull-requests-discussions)\
|
| 505 |
+
with the evaluation results will be opened for each model you selected. \
|
| 506 |
+
Check your email for notifications.
|
| 507 |
+
* π Click [here](https://hf.co/spaces/autoevaluate/leaderboards?dataset={selected_dataset}) \
|
| 508 |
+
to view the results from your submission once the Hub pull request is merged.
|
| 509 |
"""
|
| 510 |
)
|
| 511 |
print("INFO -- Pushing evaluation job logs to the Hub")
|