Jangai commited on
Commit
4d6e429
·
verified ·
1 Parent(s): c259ac0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def display_sketch(sketch):
24
  plt.imshow(image_data, cmap='gray')
25
  plt.axis('off')
26
 
27
- with tempfile.NamedTemporaryFile(delete=False, suffix=".png", dir='/mnt/data') as temp_file:
28
  plt.savefig(temp_file.name, bbox_inches='tight')
29
  temp_file_path = temp_file.name
30
 
 
24
  plt.imshow(image_data, cmap='gray')
25
  plt.axis('off')
26
 
27
+ with tempfile.NamedTemporaryFile(delete=False, suffix=".png") as temp_file:
28
  plt.savefig(temp_file.name, bbox_inches='tight')
29
  temp_file_path = temp_file.name
30