Spaces:
Running
Running
Shiyu Zhao
commited on
Commit
·
1a12918
1
Parent(s):
fc1afa7
Update space
Browse files
app.py
CHANGED
|
@@ -23,7 +23,7 @@ from utils.token_handler import TokenHandler
|
|
| 23 |
|
| 24 |
# Initialize storage once at startup
|
| 25 |
try:
|
| 26 |
-
REPO_ID = "
|
| 27 |
hub_storage = HubStorage(REPO_ID)
|
| 28 |
except Exception as e:
|
| 29 |
raise RuntimeError(f"Failed to initialize HuggingFace Hub storage: {e}")
|
|
@@ -731,7 +731,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 731 |
with gr.Column():
|
| 732 |
code_repo = gr.Textbox(
|
| 733 |
label="Code Repository*",
|
| 734 |
-
placeholder="https://github.com/
|
| 735 |
)
|
| 736 |
csv_file = gr.File(
|
| 737 |
label="Prediction CSV*",
|
|
|
|
| 23 |
|
| 24 |
# Initialize storage once at startup
|
| 25 |
try:
|
| 26 |
+
REPO_ID = "snap-stanford/stark-leaderboard" # Replace with your space name
|
| 27 |
hub_storage = HubStorage(REPO_ID)
|
| 28 |
except Exception as e:
|
| 29 |
raise RuntimeError(f"Failed to initialize HuggingFace Hub storage: {e}")
|
|
|
|
| 731 |
with gr.Column():
|
| 732 |
code_repo = gr.Textbox(
|
| 733 |
label="Code Repository*",
|
| 734 |
+
placeholder="https://github.com/snap-stanford/stark-leaderboard"
|
| 735 |
)
|
| 736 |
csv_file = gr.File(
|
| 737 |
label="Prediction CSV*",
|