capradeepgujaran
commited on
Commit
•
e9cc5f1
1
Parent(s):
312a2f2
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def create_monitor_interface():
|
|
49 |
buffered = io.BytesIO()
|
50 |
frame_pil.save(buffered,
|
51 |
format="JPEG",
|
52 |
-
quality=
|
53 |
optimize=True)
|
54 |
img_base64 = base64.b64encode(buffered.getvalue()).decode('utf-8')
|
55 |
image_url = f"data:image/jpeg;base64,{img_base64}"
|
|
|
49 |
buffered = io.BytesIO()
|
50 |
frame_pil.save(buffered,
|
51 |
format="JPEG",
|
52 |
+
quality=50,
|
53 |
optimize=True)
|
54 |
img_base64 = base64.b64encode(buffered.getvalue()).decode('utf-8')
|
55 |
image_url = f"data:image/jpeg;base64,{img_base64}"
|