Spaces:
Sleeping
Sleeping
Update pages/1_Introduction.py
Browse files- pages/1_Introduction.py +1 -1
pages/1_Introduction.py
CHANGED
|
@@ -3,8 +3,8 @@ from PIL import Image
|
|
| 3 |
import base64
|
| 4 |
import io
|
| 5 |
|
|
|
|
| 6 |
|
| 7 |
-
with open('path_to_your_image/A_warm_and_cozy_scene_of_a_father_sitting_with_his.png', 'rb') as img_file:
|
| 8 |
encoded_string = base64.b64encode(img_file.read()).decode('utf-8')
|
| 9 |
print(encoded_string)
|
| 10 |
|
|
|
|
| 3 |
import base64
|
| 4 |
import io
|
| 5 |
|
| 6 |
+
with open('C:/Users/YourName/Downloads/A_warm_and_cozy_scene_of_a_father_sitting_with_his.png', 'rb') as img_file:
|
| 7 |
|
|
|
|
| 8 |
encoded_string = base64.b64encode(img_file.read()).decode('utf-8')
|
| 9 |
print(encoded_string)
|
| 10 |
|