Skip to content

Commit

Permalink
rename forms
Browse files Browse the repository at this point in the history
  • Loading branch information
salgadev committed Apr 19, 2024
1 parent 3a18c7f commit acfec38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
st.title('# DocVerifyRAG')
st.write('## Anomaly detection for BIM document metadata')

with st.form('my_form'):
with st.form('analyze_form'):
st.write('Enter your file metadata in the following schema:')
text = st.text_input(label='Filename, Description, Discipline',
value="", placeholder=str)
Expand All @@ -35,7 +35,7 @@
st.write('## Querying Together.ai API')
metadata = generate_metadata(docs)

form = st.form(key='my_form')
form = st.form(key='generate_form')
form.text_input(label=f'Suggested Metadata Generated by {MODEL_NAME}')
stop_button = form.form_submit_button(label='Submit')
print(metadata)
Expand Down

0 comments on commit acfec38

Please sign in to comment.