Spaces:
Running
Running
huangshiyu
commited on
Commit
·
fabeb61
1
Parent(s):
cd70d21
update
Browse files
app.py
CHANGED
|
@@ -3,7 +3,6 @@ __all__ = ['block', 'make_clickable_model', 'make_clickable_user', 'get_submissi
|
|
| 3 |
import gradio as gr
|
| 4 |
import pandas as pd
|
| 5 |
import json
|
| 6 |
-
import tempfile
|
| 7 |
|
| 8 |
from constants import *
|
| 9 |
from huggingface_hub import Repository
|
|
@@ -75,7 +74,7 @@ def add_new_eval(
|
|
| 75 |
]
|
| 76 |
for key in TASK_INFO:
|
| 77 |
if key in upload_data:
|
| 78 |
-
new_data.append(upload_data[key])
|
| 79 |
else:
|
| 80 |
new_data.append(0)
|
| 81 |
# print(new_data)
|
|
|
|
| 3 |
import gradio as gr
|
| 4 |
import pandas as pd
|
| 5 |
import json
|
|
|
|
| 6 |
|
| 7 |
from constants import *
|
| 8 |
from huggingface_hub import Repository
|
|
|
|
| 74 |
]
|
| 75 |
for key in TASK_INFO:
|
| 76 |
if key in upload_data:
|
| 77 |
+
new_data.append(round(100*upload_data[key]))
|
| 78 |
else:
|
| 79 |
new_data.append(0)
|
| 80 |
# print(new_data)
|