Update app.py
Browse files
app.py
CHANGED
|
@@ -29,7 +29,8 @@ if st.button("Make list"):
|
|
| 29 |
else:
|
| 30 |
if not namespace:
|
| 31 |
st.warning("Namespace cannot be empty!")
|
| 32 |
-
|
|
|
|
| 33 |
r = requests.get(f"{HOST}/{namespace}")
|
| 34 |
library = r.json()["results"]
|
| 35 |
|
|
|
|
| 29 |
else:
|
| 30 |
if not namespace:
|
| 31 |
st.warning("Namespace cannot be empty!")
|
| 32 |
+
st.stop()
|
| 33 |
+
|
| 34 |
r = requests.get(f"{HOST}/{namespace}")
|
| 35 |
library = r.json()["results"]
|
| 36 |
|