Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -35,6 +35,8 @@ from PIL import Image
|
|
35 |
|
36 |
image = Image.open('./training(3).gif')
|
37 |
|
|
|
|
|
38 |
file = open(r'./training(3).gif', 'rb')
|
39 |
contents = file.read()
|
40 |
data_url = base64.b64encode(contents).decode('utf-8-sig')
|
|
|
35 |
|
36 |
image = Image.open('./training(3).gif')
|
37 |
|
38 |
+
import base64
|
39 |
+
|
40 |
file = open(r'./training(3).gif', 'rb')
|
41 |
contents = file.read()
|
42 |
data_url = base64.b64encode(contents).decode('utf-8-sig')
|