Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -227,7 +227,7 @@ def visualize(training_df, df, save_path, fast=False, epoch=None):
|
|
227 |
plt.gca().axes.set_xlabel(r'$x$')
|
228 |
plt.gca().axes.set_ylabel(r'$y$')
|
229 |
|
230 |
-
plt.savefig(save_path, bbox_inches='tight', dpi=
|
231 |
plt.close()
|
232 |
|
233 |
|
|
|
227 |
plt.gca().axes.set_xlabel(r'$x$')
|
228 |
plt.gca().axes.set_ylabel(r'$y$')
|
229 |
|
230 |
+
plt.savefig(save_path, bbox_inches='tight', dpi=50 if fast else 100)
|
231 |
plt.close()
|
232 |
|
233 |
|