ariG23498 HF staff commited on
Commit
55c0289
1 Parent(s): 1ae2bef

chore: collect the url of the image

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -1,5 +1,9 @@
1
  import streamlit as st
2
  import tensorflow as tf
3
 
4
- x = st.slider("Select a value")
5
- st.write(x, "squared is", x * x)
 
 
 
 
 
1
  import streamlit as st
2
  import tensorflow as tf
3
 
4
+ image_url = st.text_input(
5
+ label="URL of image",
6
+ value="",
7
+ placeholder="https://your-favourite-image.png"
8
+ )
9
+ st.write("Image URL:", image_url)