Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
eduagarcia
commited on
Commit
•
a761927
1
Parent(s):
c14ac9f
better explation for use_remote_code=True
Browse files- src/display/about.py +1 -1
- src/submission/check_validity.py +1 -1
src/display/about.py
CHANGED
@@ -162,7 +162,7 @@ I have an issue about accessing the leaderboard through the Gradio API
|
|
162 |
- *Since this is not the recommended way to access the leaderboard, we won't provide support for this, but you can look at tools provided by the community for inspiration!*
|
163 |
"""
|
164 |
|
165 |
-
REMOTE_CODE_NOTE = "Note: if your model needs `use_remote_code=True`,
|
166 |
|
167 |
EVALUATION_QUEUE_TEXT = f"""
|
168 |
# Evaluation Queue for the 🚀 {LEADERBOARD_NAME}
|
|
|
162 |
- *Since this is not the recommended way to access the leaderboard, we won't provide support for this, but you can look at tools provided by the community for inspiration!*
|
163 |
"""
|
164 |
|
165 |
+
REMOTE_CODE_NOTE = f"Note: if your model needs `use_remote_code=True`, it will not be automatically added to the leaderboard by the Submit tab. You can still [open an issue](discussions/new) to have it manually submitted."
|
166 |
|
167 |
EVALUATION_QUEUE_TEXT = f"""
|
168 |
# Evaluation Queue for the 🚀 {LEADERBOARD_NAME}
|
src/submission/check_validity.py
CHANGED
@@ -64,7 +64,7 @@ def is_model_on_hub(model_name: str, revision: str, token: str = None, trust_rem
|
|
64 |
traceback.print_exc()
|
65 |
return (
|
66 |
False,
|
67 |
-
"needs to be launched with `trust_remote_code=True`. For safety reason, we do not allow these models to be automatically submitted to the leaderboard.",
|
68 |
None
|
69 |
)
|
70 |
|
|
|
64 |
traceback.print_exc()
|
65 |
return (
|
66 |
False,
|
67 |
+
"needs to be launched with `trust_remote_code=True`. For safety reason, we do not allow these models to be automatically submitted to the leaderboard. Open an new issue to ask for manual submission.",
|
68 |
None
|
69 |
)
|
70 |
|