Spaces:
Sleeping
Sleeping
fix: create plots dir
Browse files
app.py
CHANGED
@@ -94,6 +94,7 @@ def toggle_inputs(use_average):
|
|
94 |
|
95 |
|
96 |
plot_path = "plots/last_plot.pdf"
|
|
|
97 |
|
98 |
|
99 |
def plot_distances(model, dataset, use_average, cluster_method, cluster_method_param, plot_fn):
|
|
|
94 |
|
95 |
|
96 |
plot_path = "plots/last_plot.pdf"
|
97 |
+
os.makedirs("plots", exist_ok=True)
|
98 |
|
99 |
|
100 |
def plot_distances(model, dataset, use_average, cluster_method, cluster_method_param, plot_fn):
|