Spaces:
Running
Running
Commit
·
ed207ae
1
Parent(s):
f9983ab
add job id and rephrase
Browse files- text_classification_ui_helpers.py +2 -1
- wordings.py +1 -1
text_classification_ui_helpers.py
CHANGED
|
@@ -24,6 +24,7 @@ from wordings import (
|
|
| 24 |
MAPPING_STYLED_ERROR_WARNING,
|
| 25 |
NOT_TEXT_CLASSIFICATION_MODEL_RAW,
|
| 26 |
UNMATCHED_MODEL_DATASET,
|
|
|
|
| 27 |
get_styled_input,
|
| 28 |
)
|
| 29 |
|
|
@@ -358,6 +359,6 @@ def try_submit(m_id, d_id, config, split, inference, inference_token, uid):
|
|
| 358 |
|
| 359 |
return (
|
| 360 |
gr.update(interactive=False), # Submit button
|
| 361 |
-
gr.update(lines=5, visible=True, interactive=False),
|
| 362 |
uuid.uuid4(), # Allocate a new uuid
|
| 363 |
)
|
|
|
|
| 24 |
MAPPING_STYLED_ERROR_WARNING,
|
| 25 |
NOT_TEXT_CLASSIFICATION_MODEL_RAW,
|
| 26 |
UNMATCHED_MODEL_DATASET,
|
| 27 |
+
CHECK_LOG_SECTION_RAW,
|
| 28 |
get_styled_input,
|
| 29 |
)
|
| 30 |
|
|
|
|
| 359 |
|
| 360 |
return (
|
| 361 |
gr.update(interactive=False), # Submit button
|
| 362 |
+
gr.update(value=f"{CHECK_LOG_SECTION_RAW}Your job id is: {uid}. ", lines=5, visible=True, interactive=False),
|
| 363 |
uuid.uuid4(), # Allocate a new uuid
|
| 364 |
)
|
wordings.py
CHANGED
|
@@ -30,7 +30,7 @@ CHECK_CONFIG_OR_SPLIT_RAW = """
|
|
| 30 |
"""
|
| 31 |
|
| 32 |
CHECK_LOG_SECTION_RAW = """
|
| 33 |
-
Your
|
| 34 |
"""
|
| 35 |
|
| 36 |
PREDICTION_SAMPLE_MD = """
|
|
|
|
| 30 |
"""
|
| 31 |
|
| 32 |
CHECK_LOG_SECTION_RAW = """
|
| 33 |
+
Your have successfully submitted a Giskard evaluation. Further details are available in the Logs tab, providing information on your queue status and the current job log.
|
| 34 |
"""
|
| 35 |
|
| 36 |
PREDICTION_SAMPLE_MD = """
|