Spaces:
Running
Running
kovacsvi
commited on
Commit
·
a3a4d97
1
Parent(s):
91e419c
debug df -h before scanning cache
Browse files
app.py
CHANGED
@@ -54,10 +54,10 @@ with gr.Blocks(css=css) as demo:
|
|
54 |
|
55 |
if __name__ == "__main__":
|
56 |
set_hf_cache_dir("/data")
|
|
|
57 |
scan_cache()
|
58 |
download_spacy_models()
|
59 |
download_hf_models() # does this affect the build?
|
60 |
-
df_h() # debug -> check disk space before launching demo
|
61 |
demo.launch()
|
62 |
|
63 |
# TODO: add all languages & domains
|
|
|
54 |
|
55 |
if __name__ == "__main__":
|
56 |
set_hf_cache_dir("/data")
|
57 |
+
df_h() # debug -> check disk space before launching demo - TO-DO: smarter disk space usage
|
58 |
scan_cache()
|
59 |
download_spacy_models()
|
60 |
download_hf_models() # does this affect the build?
|
|
|
61 |
demo.launch()
|
62 |
|
63 |
# TODO: add all languages & domains
|