Enoch1359 commited on
Commit
0395bcc
ยท
verified ยท
1 Parent(s): 9e07bcd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -24,8 +24,11 @@ st.sidebar.title("Give your URls๐Ÿ”—?")
24
  mp=st.empty()
25
 
26
 
27
- urs = [st.sidebar.text_input(f"URL {i+1}๐Ÿ”—") for i in range(3)]
28
- urs = [url for url in urs if url.strip()] # โœ… filters out empty inputs
 
 
 
29
 
30
  purs=st.button("gotcha", disabled=not any(url.strip() for url in urs))
31
  if purs:
 
24
  mp=st.empty()
25
 
26
 
27
+ urs=[]
28
+ for i in range(3):
29
+ url=st.sidebar.text_input(f"URL {i+1}๐Ÿ”—")
30
+ urs.append(url)
31
+
32
 
33
  purs=st.button("gotcha", disabled=not any(url.strip() for url in urs))
34
  if purs: