Commit
·
b37d53e
1
Parent(s):
2dafeb1
Removed public gradio app sharing
Browse files
app.py
CHANGED
@@ -271,4 +271,4 @@ with gr.Blocks(theme=gr.themes.Default(text_size=sizes.text_lg)) as demo:
|
|
271 |
)
|
272 |
|
273 |
if __name__ == "__main__":
|
274 |
-
demo.launch(ssr_mode=False
|
|
|
271 |
)
|
272 |
|
273 |
if __name__ == "__main__":
|
274 |
+
demo.launch(ssr_mode=False)
|
utils.py
CHANGED
@@ -18,11 +18,7 @@ def anonymize_user(username: str) -> str:
|
|
18 |
|
19 |
|
20 |
def fetch_hf_results():
|
21 |
-
#
|
22 |
-
# # Print current time in EST
|
23 |
-
# EST = timezone(timedelta(hours=-4))
|
24 |
-
# print(f"tmp: Fetching results from HF at {datetime.now(EST)}")
|
25 |
-
# Should cache by default if not using force_redownload
|
26 |
df = load_dataset(
|
27 |
RESULTS_REPO,
|
28 |
data_files="auto_submissions/metrics_all.csv",
|
|
|
18 |
|
19 |
|
20 |
def fetch_hf_results():
|
21 |
+
# load_dataset should cache by default if not using force_redownload
|
|
|
|
|
|
|
|
|
22 |
df = load_dataset(
|
23 |
RESULTS_REPO,
|
24 |
data_files="auto_submissions/metrics_all.csv",
|