Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -327,7 +327,7 @@ with st.sidebar:
|
|
| 327 |
|
| 328 |
if extraction_mode == "Custom field extraction":
|
| 329 |
custom_fields = st.text_area(
|
| 330 |
-
"Enter fields to extract (comma separated):",
|
| 331 |
value="Invoice number, Date, Company name, Total amount"
|
| 332 |
)
|
| 333 |
fields = [f.strip() for f in custom_fields.split(",") if f.strip()]
|
|
|
|
| 327 |
|
| 328 |
if extraction_mode == "Custom field extraction":
|
| 329 |
custom_fields = st.text_area(
|
| 330 |
+
"Enter fields to extract (comma separated or your prompt here):",
|
| 331 |
value="Invoice number, Date, Company name, Total amount"
|
| 332 |
)
|
| 333 |
fields = [f.strip() for f in custom_fields.split(",") if f.strip()]
|