Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
lixuejing
commited on
Commit
·
c2f1b73
1
Parent(s):
ef3dbd2
fix bug
Browse files- app.py +3 -3
- requirements.txt +1 -1
app.py
CHANGED
@@ -58,7 +58,7 @@ def init_space():
|
|
58 |
print(huggingface_hub.__version__)
|
59 |
import time
|
60 |
time.sleep(25)
|
61 |
-
restart_space()
|
62 |
try:
|
63 |
print(DYNAMIC_INFO_PATH)
|
64 |
snapshot_download(
|
@@ -69,7 +69,7 @@ def init_space():
|
|
69 |
print("dynamic_info exception", traceback.format_exc())
|
70 |
import time
|
71 |
time.sleep(25)
|
72 |
-
restart_space()
|
73 |
try:
|
74 |
print(EVAL_RESULTS_PATH)
|
75 |
snapshot_download(
|
@@ -80,7 +80,7 @@ def init_space():
|
|
80 |
print("EVAL_RESULTS exception", traceback.format_exc())
|
81 |
import time
|
82 |
time.sleep(25)
|
83 |
-
restart_space()
|
84 |
|
85 |
|
86 |
raw_data, original_df = get_leaderboard_df(
|
|
|
58 |
print(huggingface_hub.__version__)
|
59 |
import time
|
60 |
time.sleep(25)
|
61 |
+
#restart_space()
|
62 |
try:
|
63 |
print(DYNAMIC_INFO_PATH)
|
64 |
snapshot_download(
|
|
|
69 |
print("dynamic_info exception", traceback.format_exc())
|
70 |
import time
|
71 |
time.sleep(25)
|
72 |
+
#restart_space()
|
73 |
try:
|
74 |
print(EVAL_RESULTS_PATH)
|
75 |
snapshot_download(
|
|
|
80 |
print("EVAL_RESULTS exception", traceback.format_exc())
|
81 |
import time
|
82 |
time.sleep(25)
|
83 |
+
#restart_space()
|
84 |
|
85 |
|
86 |
raw_data, original_df = get_leaderboard_df(
|
requirements.txt
CHANGED
@@ -5,7 +5,7 @@ datasets==2.14.5
|
|
5 |
gradio==4.9.0
|
6 |
gradio_client==0.7.2
|
7 |
TensorFlow >= 2.0
|
8 |
-
huggingface-hub
|
9 |
matplotlib==3.7.1
|
10 |
numpy==1.24.2
|
11 |
pandas==2.0.0
|
|
|
5 |
gradio==4.9.0
|
6 |
gradio_client==0.7.2
|
7 |
TensorFlow >= 2.0
|
8 |
+
huggingface-hub==0.25.1
|
9 |
matplotlib==3.7.1
|
10 |
numpy==1.24.2
|
11 |
pandas==2.0.0
|