Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -234,11 +234,11 @@ with tab1:
|
|
| 234 |
st.write(f"- {tip}")
|
| 235 |
|
| 236 |
st.write("## Resources")
|
| 237 |
-
if st.button("Additional Resources")
|
| 238 |
-
|
| 239 |
-
|
| 240 |
-
|
| 241 |
-
|
| 242 |
|
| 243 |
|
| 244 |
with tab2:
|
|
|
|
| 234 |
st.write(f"- {tip}")
|
| 235 |
|
| 236 |
st.write("## Resources")
|
| 237 |
+
if st.button("Additional Resources"):
|
| 238 |
+
with st.spinner(f"Generating resources for a {role}..."):
|
| 239 |
+
resources = generate_resources(role)
|
| 240 |
+
for resource in resources:
|
| 241 |
+
st.write(f"- {resource}")
|
| 242 |
|
| 243 |
|
| 244 |
with tab2:
|