Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Ahsen Khaliq
commited on
Commit
•
0da6099
1
Parent(s):
c13f3d2
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ def inference(file1,file2):
|
|
48 |
'tentative_color': None,
|
49 |
'feature_color': (0.2, 0.5, 1), 'vertical': False}, ax=ax)
|
50 |
plt.axis('off')
|
51 |
-
fig.savefig('example.jpg',dpi=
|
52 |
return 'example.jpg'
|
53 |
|
54 |
|
|
|
48 |
'tentative_color': None,
|
49 |
'feature_color': (0.2, 0.5, 1), 'vertical': False}, ax=ax)
|
50 |
plt.axis('off')
|
51 |
+
fig.savefig('example.jpg',dpi=150,bbox_inches='tight')
|
52 |
return 'example.jpg'
|
53 |
|
54 |
|