Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -278,15 +278,18 @@ def chat_fn(user_message, history):
|
|
| 278 |
return
|
| 279 |
|
| 280 |
# --------------- Launch Gradio ----------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 281 |
demo = gr.ChatInterface(
|
| 282 |
fn=chat_fn,
|
| 283 |
title="EuroLLM 1.7B (with robust streaming & chat_format)",
|
| 284 |
description="Streaming ON. Check logs for STREAM CHUNK lines if behaviour is blank.",
|
|
|
|
| 285 |
)
|
| 286 |
|
| 287 |
if __name__ == "__main__":
|
| 288 |
-
|
| 289 |
-
.settings { display: none !important; }
|
| 290 |
-
"""
|
| 291 |
-
stylings = stylings.strip()
|
| 292 |
-
demo.launch(css=stylings)
|
|
|
|
| 278 |
return
|
| 279 |
|
| 280 |
# --------------- Launch Gradio ----------------
|
| 281 |
+
stylings = """
|
| 282 |
+
footer a[href*='settings'], /* Footer settings link */
|
| 283 |
+
footer .gradio-settings { display: none !important; } /* Specific classes if they exist */
|
| 284 |
+
"""
|
| 285 |
+
stylings = stylings.strip()
|
| 286 |
+
|
| 287 |
demo = gr.ChatInterface(
|
| 288 |
fn=chat_fn,
|
| 289 |
title="EuroLLM 1.7B (with robust streaming & chat_format)",
|
| 290 |
description="Streaming ON. Check logs for STREAM CHUNK lines if behaviour is blank.",
|
| 291 |
+
css=stylings,
|
| 292 |
)
|
| 293 |
|
| 294 |
if __name__ == "__main__":
|
| 295 |
+
demo.launch()
|
|
|
|
|
|
|
|
|
|
|
|