Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ except ImportError:
|
|
| 20 |
# Page config
|
| 21 |
# ---------------------------
|
| 22 |
st.set_page_config(
|
| 23 |
-
page_title="
|
| 24 |
page_icon="🔍",
|
| 25 |
layout="wide",
|
| 26 |
initial_sidebar_state="expanded"
|
|
@@ -96,7 +96,7 @@ def query_openrouter(prompt: str, image_base64: str, model_id: str) -> str:
|
|
| 96 |
"Content-Type": "application/json",
|
| 97 |
# Optional but recommended for attribution
|
| 98 |
"HTTP-Referer": st.secrets.get("SPACE_URL", "https://hf.space"),
|
| 99 |
-
"X-Title": "
|
| 100 |
}
|
| 101 |
|
| 102 |
r = requests.post(
|
|
|
|
| 20 |
# Page config
|
| 21 |
# ---------------------------
|
| 22 |
st.set_page_config(
|
| 23 |
+
page_title="EZOFIS AI OCR",
|
| 24 |
page_icon="🔍",
|
| 25 |
layout="wide",
|
| 26 |
initial_sidebar_state="expanded"
|
|
|
|
| 96 |
"Content-Type": "application/json",
|
| 97 |
# Optional but recommended for attribution
|
| 98 |
"HTTP-Referer": st.secrets.get("SPACE_URL", "https://hf.space"),
|
| 99 |
+
"X-Title": "EZOFIS AI OCR"
|
| 100 |
}
|
| 101 |
|
| 102 |
r = requests.post(
|