decomposer_v1 / app.py
saadfarhad's picture
Create app.py
2f67372 verified
raw
history blame
708 Bytes
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()