Spaces:
Sleeping
Sleeping
Update app.py
Browse files377 unmodified lines3783793803813813823833843853863873883896 unmodified lines396397398399400401402403377 unmodified lines st.error(st.session_state.error)
if st.session_state.success != None: st.success("Success! Copy/paste the requirements.txt and app.py files into your HuggingFace Space") st.success("Success! The qequirements.txt and app.py files are at the bottom of the page")
st.write("1. Open a new HuggingFace Space for the chatbot") image = Image.open('Example15.png') st.image(image, caption="Example for Step 10",use_column_width=True) st.divider() st.write('requirements.txt') st.code(st.session_state.success[0], language='python')6 unmodified lines st.rerun() else: st.markdown("### This is where the magic begins! Fill out the information to generate your chatbot code.") organization_name = st.text_input("What is the name of your organization", "") username = st.text_input("What is your HuggingFace username (from Step 4)", "") num_domains = st.number_input("How many datasets do you have uploaded (from Step 4)", value=1, step=1, min_value=1, max_value=10)app.py+8-1