Spaces:
Runtime error
Runtime error
stop frequent downloading of dataset
Browse files
app.py
CHANGED
@@ -54,7 +54,9 @@ def bar_plot(df):
|
|
54 |
st.pyplot(fig)
|
55 |
|
56 |
if __name__ == '__main__':
|
57 |
-
os.
|
|
|
|
|
58 |
test = load_data()
|
59 |
|
60 |
config, processor, model, device = cache_model()
|
|
|
54 |
st.pyplot(fig)
|
55 |
|
56 |
if __name__ == '__main__':
|
57 |
+
if not os.path.exists('/home/user/app/aesdd.zip'):
|
58 |
+
os.system('python download_dataset.py')
|
59 |
+
|
60 |
test = load_data()
|
61 |
|
62 |
config, processor, model, device = cache_model()
|