Spaces:
Sleeping
Sleeping
import streamlit as st | |
def main(): | |
st.title("Problem Statement and Factor Guess") | |
st.write("Please provide the following information:") | |
with st.form(key="input_form", clear_on_submit=True): | |
# 1. Problem Statement | |
problem_statement = st.text_input("1. Enter your problem statement:") | |
# 2. Factors Guess | |
factors = st.text_area("2. Enter your guess for the factors used to resolve this problem:") | |
submit_button = st.form_submit_button("Submit") | |
if submit_button: | |
st.markdown("### Your Submission") | |
st.write("**Problem Statement:**", problem_statement) | |
st.write("**Factors:**", factors) | |
if __name__ == "__main__": | |
main() | |