butterswords commited on
Commit
67b295a
·
verified ·
1 Parent(s): 5d9e49e

Update app.py

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