Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ from src.populate import get_evaluation_queue_df, get_leaderboard_df
|
|
52 |
from src.submission.submit import add_new_eval
|
53 |
|
54 |
|
55 |
-
def restart_space():
|
56 |
API.restart_space(repo_id=REPO_ID)
|
57 |
|
58 |
|
@@ -188,7 +188,7 @@ def update_table(
|
|
188 |
vllm_query: list[str],
|
189 |
query: str,
|
190 |
*columns,
|
191 |
-
):
|
192 |
columns = [item for column in columns for item in column]
|
193 |
print(
|
194 |
f"Update table called with: type_query={type_query}, precision_query={precision_query}, size_query={size_query}"
|
|
|
52 |
from src.submission.submit import add_new_eval
|
53 |
|
54 |
|
55 |
+
def restart_space() -> None:
|
56 |
API.restart_space(repo_id=REPO_ID)
|
57 |
|
58 |
|
|
|
188 |
vllm_query: list[str],
|
189 |
query: str,
|
190 |
*columns,
|
191 |
+
) -> pd.DataFrame:
|
192 |
columns = [item for column in columns for item in column]
|
193 |
print(
|
194 |
f"Update table called with: type_query={type_query}, precision_query={precision_query}, size_query={size_query}"
|