Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +3 -1
src/streamlit_app.py
CHANGED
|
@@ -52,6 +52,8 @@ POD_URL = os.getenv("POD_URL", "")
|
|
| 52 |
VLLM_API_KEY = os.getenv("VLLM_API_KEY", "")
|
| 53 |
MODEL_NAME = "qwen-v2-merged"
|
| 54 |
|
|
|
|
|
|
|
| 55 |
# Validate secrets are set
|
| 56 |
if not POD_URL or not VLLM_API_KEY:
|
| 57 |
st.error("⚠️ API credentials not configured. Please set POD_URL and VLLM_API_KEY in Space settings.")
|
|
@@ -59,7 +61,7 @@ if not POD_URL or not VLLM_API_KEY:
|
|
| 59 |
# -----------------------------
|
| 60 |
# Page config & CSS
|
| 61 |
# -----------------------------
|
| 62 |
-
|
| 63 |
st.title("Invoice Extraction")
|
| 64 |
|
| 65 |
st.markdown(
|
|
|
|
| 52 |
VLLM_API_KEY = os.getenv("VLLM_API_KEY", "")
|
| 53 |
MODEL_NAME = "qwen-v2-merged"
|
| 54 |
|
| 55 |
+
st.set_page_config(page_title="Invoice Extractor (Qwen3-VL) - Batch Mode", layout="wide")
|
| 56 |
+
|
| 57 |
# Validate secrets are set
|
| 58 |
if not POD_URL or not VLLM_API_KEY:
|
| 59 |
st.error("⚠️ API credentials not configured. Please set POD_URL and VLLM_API_KEY in Space settings.")
|
|
|
|
| 61 |
# -----------------------------
|
| 62 |
# Page config & CSS
|
| 63 |
# -----------------------------
|
| 64 |
+
|
| 65 |
st.title("Invoice Extraction")
|
| 66 |
|
| 67 |
st.markdown(
|