Update
This commit is contained in:
parent
3bf38958ee
commit
0f2140e6f4
4
main.py
4
main.py
|
|
@ -333,7 +333,7 @@ def get_cached_llm():
|
|||
# 5. STREAMLIT FRONTEND
|
||||
# ==========================================
|
||||
st.set_page_config(page_title="PDF zu E-Rechnung", layout="wide")
|
||||
st.title("📄 Enterprise PDF zu E-Rechnung Konverter (API-Version)")
|
||||
st.title("📄 PDF zu E-Rechnung Konverter")
|
||||
|
||||
llm = get_cached_llm()
|
||||
col1, col2 = st.columns(2)
|
||||
|
|
@ -354,7 +354,7 @@ with col2:
|
|||
if "extracted_data" not in st.session_state: st.session_state.extracted_data = None
|
||||
|
||||
if uploaded_file is not None and pdf_text.strip() != "":
|
||||
if st.button("🚀 Daten extrahieren (Kugelsichere Hybrid-Methode via API)", width="stretch"):
|
||||
if st.button("Daten extrahieren", width="stretch"):
|
||||
with st.spinner("Extrahiere Daten über vLLM-API..."):
|
||||
|
||||
# STUFE 1: Stammdaten via API mit Schema-Zwang
|
||||
|
|
|
|||
Loading…
Reference in New Issue