Alesteba commited on
Commit
9f80763
·
1 Parent(s): ea3cba1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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')