Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,8 +55,8 @@ if picture is not None:
|
|
| 55 |
f.write(picture.getvalue())
|
| 56 |
|
| 57 |
# Get image URL
|
| 58 |
-
base_url = requests.get("https://ipv4.icanhazip.com")
|
| 59 |
-
img_url = f"https://huggingface.co/spaces/butterswords/MM_Math_Helper
|
| 60 |
st.write(base_url)
|
| 61 |
st.write(img_url)
|
| 62 |
st.image(img_url)
|
|
|
|
| 55 |
f.write(picture.getvalue())
|
| 56 |
|
| 57 |
# Get image URL
|
| 58 |
+
base_url = requests.get("https://ipv4.icanhazip.com").text
|
| 59 |
+
img_url = f"https://huggingface.co/spaces/butterswords/MM_Math_Helper" + temp_image_path
|
| 60 |
st.write(base_url)
|
| 61 |
st.write(img_url)
|
| 62 |
st.image(img_url)
|