clarifying score structure
Browse files
README.md
CHANGED
|
@@ -6,6 +6,12 @@ colorTo: green
|
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
| 8 |
hf_oauth: true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
| 8 |
hf_oauth: true
|
| 9 |
+
hf_oauth_expiration_minutes: 480
|
| 10 |
+
hf_oauth_scopes:
|
| 11 |
+
- read-repos
|
| 12 |
+
- write-repos
|
| 13 |
+
- manage-repos
|
| 14 |
+
- inference-api
|
| 15 |
---
|
| 16 |
|
| 17 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app.py
CHANGED
|
@@ -66,6 +66,8 @@ def gradio_interface() -> gr.Blocks:
|
|
| 66 |
render=True
|
| 67 |
)
|
| 68 |
|
|
|
|
|
|
|
| 69 |
with gr.TabItem("❔About", elem_id="boundary-benchmark-tab-table"):
|
| 70 |
gr.Markdown(
|
| 71 |
"""
|
|
|
|
| 66 |
render=True
|
| 67 |
)
|
| 68 |
|
| 69 |
+
gr.Markdown("For the `geometrical` and `simple_to_build`, the scores are bounded between 0.0 and 1.0, where 1.0 is the best possible score. For the `mhd_stable` multi-objective problem, the score is unbounded with a undefined maximum score.")
|
| 70 |
+
|
| 71 |
with gr.TabItem("❔About", elem_id="boundary-benchmark-tab-table"):
|
| 72 |
gr.Markdown(
|
| 73 |
"""
|
submit.py
CHANGED
|
@@ -23,6 +23,7 @@ def submit_boundary(
|
|
| 23 |
) -> str:
|
| 24 |
|
| 25 |
# profile: gr.OAuthProfile | None
|
|
|
|
| 26 |
|
| 27 |
# error handling
|
| 28 |
# if profile.username is None:
|
|
|
|
| 23 |
) -> str:
|
| 24 |
|
| 25 |
# profile: gr.OAuthProfile | None
|
| 26 |
+
# user_state = profile.username
|
| 27 |
|
| 28 |
# error handling
|
| 29 |
# if profile.username is None:
|