greencatted commited on
Commit
a2c4274
1 Parent(s): fb8d2a9

Remove f-string

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ if option == "Camera":
50
  picture_buffer = st.camera_input("Take a picture")
51
 
52
  if picture_buffer is not None:
53
- image_url = f"data:image/jpeg;base64,{base64.b64encode(picture_buffer.getvalue()).decode("utf-8")}"
54
 
55
  if st.button("Generate Location"):
56
  st.write(classify_picture(image_url))
 
50
  picture_buffer = st.camera_input("Take a picture")
51
 
52
  if picture_buffer is not None:
53
+ image_url = "data:image/jpeg;base64," + base64.b64encode(picture_buffer.getvalue()).decode("utf-8")
54
 
55
  if st.button("Generate Location"):
56
  st.write(classify_picture(image_url))