Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -216,7 +216,7 @@ def analysis(Manifesto,Search):
|
|
| 216 |
#plt.savefig('sentimentAnalysis2.png')
|
| 217 |
#plt.clf()
|
| 218 |
plt.tight_layout()
|
| 219 |
-
buf =
|
| 220 |
plt.savefig(buf)
|
| 221 |
buf.seek(0)
|
| 222 |
img2 = Image.open(buf)
|
|
|
|
| 216 |
#plt.savefig('sentimentAnalysis2.png')
|
| 217 |
#plt.clf()
|
| 218 |
plt.tight_layout()
|
| 219 |
+
buf = BytesIO()
|
| 220 |
plt.savefig(buf)
|
| 221 |
buf.seek(0)
|
| 222 |
img2 = Image.open(buf)
|