Spaces:
Runtime error
Runtime error
Carlos Salgado
commited on
Commit
·
acfec38
1
Parent(s):
3a18c7f
rename forms
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ from scripts import analyze_metadata, generate_metadata, ingest, MODEL_NAME
|
|
| 8 |
st.title('# DocVerifyRAG')
|
| 9 |
st.write('## Anomaly detection for BIM document metadata')
|
| 10 |
|
| 11 |
-
with st.form('
|
| 12 |
st.write('Enter your file metadata in the following schema:')
|
| 13 |
text = st.text_input(label='Filename, Description, Discipline',
|
| 14 |
value="", placeholder=str)
|
|
@@ -35,7 +35,7 @@ if uploaded_file is not None:
|
|
| 35 |
st.write('## Querying Together.ai API')
|
| 36 |
metadata = generate_metadata(docs)
|
| 37 |
|
| 38 |
-
form = st.form(key='
|
| 39 |
form.text_input(label=f'Suggested Metadata Generated by {MODEL_NAME}')
|
| 40 |
stop_button = form.form_submit_button(label='Submit')
|
| 41 |
print(metadata)
|
|
|
|
| 8 |
st.title('# DocVerifyRAG')
|
| 9 |
st.write('## Anomaly detection for BIM document metadata')
|
| 10 |
|
| 11 |
+
with st.form('analyze_form'):
|
| 12 |
st.write('Enter your file metadata in the following schema:')
|
| 13 |
text = st.text_input(label='Filename, Description, Discipline',
|
| 14 |
value="", placeholder=str)
|
|
|
|
| 35 |
st.write('## Querying Together.ai API')
|
| 36 |
metadata = generate_metadata(docs)
|
| 37 |
|
| 38 |
+
form = st.form(key='generate_form')
|
| 39 |
form.text_input(label=f'Suggested Metadata Generated by {MODEL_NAME}')
|
| 40 |
stop_button = form.form_submit_button(label='Submit')
|
| 41 |
print(metadata)
|