Commit
·
e71d4de
1
Parent(s):
0ed0398
Fix: remove style tags from css parameter (Gradio handles this)
Browse files
app.py
CHANGED
|
@@ -319,7 +319,6 @@ def generate_steered(prompt, alpha, max_tokens):
|
|
| 319 |
|
| 320 |
# Custom CSS to match Streamlit minimal design
|
| 321 |
custom_css = """
|
| 322 |
-
<style>
|
| 323 |
/* @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap'); */
|
| 324 |
|
| 325 |
/* Global font */
|
|
@@ -415,7 +414,6 @@ textarea, input[type="text"] {
|
|
| 415 |
/* Remove gradio branding */
|
| 416 |
footer { display: none !important; }
|
| 417 |
.dark { display: none !important; }
|
| 418 |
-
</style>
|
| 419 |
"""
|
| 420 |
|
| 421 |
# Create interface
|
|
|
|
| 319 |
|
| 320 |
# Custom CSS to match Streamlit minimal design
|
| 321 |
custom_css = """
|
|
|
|
| 322 |
/* @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap'); */
|
| 323 |
|
| 324 |
/* Global font */
|
|
|
|
| 414 |
/* Remove gradio branding */
|
| 415 |
footer { display: none !important; }
|
| 416 |
.dark { display: none !important; }
|
|
|
|
| 417 |
"""
|
| 418 |
|
| 419 |
# Create interface
|