Spaces:
Sleeping
Sleeping
Aditya Patkar
commited on
Commit
•
92dff8b
1
Parent(s):
6c6956f
Added spinner for generation wait period
Browse files
app.py
CHANGED
@@ -169,9 +169,10 @@ def main():
|
|
169 |
elif company == "":
|
170 |
st.error("Please enter a company name")
|
171 |
else:
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
|
|
176 |
|
177 |
main()
|
|
|
169 |
elif company == "":
|
170 |
st.error("Please enter a company name")
|
171 |
else:
|
172 |
+
with st.spinner('Generating...'):
|
173 |
+
cover_letter = get_cover_letter(title, company, more_info, "resume.pdf")
|
174 |
+
container_three.markdown("---")
|
175 |
+
container_three.markdown("### Cover Letter:")
|
176 |
+
container_three.write(cover_letter)
|
177 |
|
178 |
main()
|