Update about
Browse files- app.py +1 -1
- src/about.py +3 -2
app.py
CHANGED
@@ -211,5 +211,5 @@ scheduler = BackgroundScheduler()
|
|
211 |
scheduler.add_job(restart_space, "interval", seconds=1800)
|
212 |
scheduler.start()
|
213 |
demo.queue(default_concurrency_limit=40).launch(
|
214 |
-
allowed_paths=["images
|
215 |
)
|
|
|
211 |
scheduler.add_job(restart_space, "interval", seconds=1800)
|
212 |
scheduler.start()
|
213 |
demo.queue(default_concurrency_limit=40).launch(
|
214 |
+
allowed_paths=["images/*"],
|
215 |
)
|
src/about.py
CHANGED
@@ -23,17 +23,18 @@ class Tasks(Enum):
|
|
23 |
task7 = Task("hf", "score", "LLM JUDGE")
|
24 |
# task = Task("precisions", "score", "Precision")
|
25 |
|
|
|
26 |
NUM_FEWSHOT = 0 # Change with your few shot
|
27 |
# ---------------------------------------------------
|
28 |
|
29 |
# Your leaderboard name
|
30 |
-
TITLE = """<img src="file/images/solbench.svg"
|
31 |
<h1 align="center" id="space-title"></h1>"""
|
32 |
|
33 |
# What does your leaderboard evaluate?
|
34 |
INTRODUCTION_TEXT = """
|
35 |
<center>
|
36 |
-
<h2>
|
37 |
</center>
|
38 |
"""
|
39 |
|
|
|
23 |
task7 = Task("hf", "score", "LLM JUDGE")
|
24 |
# task = Task("precisions", "score", "Precision")
|
25 |
|
26 |
+
|
27 |
NUM_FEWSHOT = 0 # Change with your few shot
|
28 |
# ---------------------------------------------------
|
29 |
|
30 |
# Your leaderboard name
|
31 |
+
TITLE = """<img src="file/images/solbench.svg" width="300" style="display: block; margin-left: auto; margin-right: auto;">
|
32 |
<h1 align="center" id="space-title"></h1>"""
|
33 |
|
34 |
# What does your leaderboard evaluate?
|
35 |
INTRODUCTION_TEXT = """
|
36 |
<center>
|
37 |
+
<h2>Evaluating Solidity Code Generation</h2>
|
38 |
</center>
|
39 |
"""
|
40 |
|