Spaces:
Sleeping
Sleeping
chandralegend
commited on
Commit
β’
3edfcd7
1
Parent(s):
47c3daf
minor fixes
Browse files
.sessions/johndoe/images/2d4f8d74-18e0-4a26-bd63-d1a62ee3aca0_Angry_.jpg
DELETED
Binary file (275 kB)
|
|
.sessions/johndoe/images/83075496-fa6b-4266-8237-6d51c450f143_Happy_.jpg
DELETED
Binary file (276 kB)
|
|
.sessions/johndoe/images/try.jpg
DELETED
Binary file (269 kB)
|
|
.sessions/johndoe/level.txt
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
5
|
|
|
|
pages/4_Trying It Out.py
CHANGED
@@ -67,7 +67,7 @@ def step4_page():
|
|
67 |
else:
|
68 |
image = st.file_uploader("Upload an image", type=["png", "jpg", "jpeg"])
|
69 |
byte_image = image.read() if image else None
|
70 |
-
try_img = os.path.join(".sessions", get_login()["username"], "
|
71 |
if byte_image:
|
72 |
with open(try_img, "wb") as f:
|
73 |
f.write(byte_image)
|
|
|
67 |
else:
|
68 |
image = st.file_uploader("Upload an image", type=["png", "jpg", "jpeg"])
|
69 |
byte_image = image.read() if image else None
|
70 |
+
try_img = os.path.join(".sessions", get_login()["username"], "try.jpg")
|
71 |
if byte_image:
|
72 |
with open(try_img, "wb") as f:
|
73 |
f.write(byte_image)
|