Spaces:
Paused
Paused
fix: Gradio 6.0 compat - move theme/css to launch(), remove hardcoded port
Browse files
app.py
CHANGED
|
@@ -443,7 +443,7 @@ else:
|
|
| 443 |
logo_html = '<h1 style="color:#14b8a6; text-align:center; font-size:2.8em; font-family:Inter,sans-serif; font-weight:800; letter-spacing:-0.02em;">Interview Forge</h1><p style="text-align:center; color:#6b7280; font-size:1em;">Success Through Preparation</p>'
|
| 444 |
|
| 445 |
|
| 446 |
-
with gr.Blocks(
|
| 447 |
|
| 448 |
# ββ Hero header βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 449 |
gr.HTML(f"""
|
|
@@ -544,4 +544,4 @@ with gr.Blocks(theme=theme, css=custom_css) as app:
|
|
| 544 |
)
|
| 545 |
|
| 546 |
if __name__ == "__main__":
|
| 547 |
-
app.launch(server_name="0.0.0.0",
|
|
|
|
| 443 |
logo_html = '<h1 style="color:#14b8a6; text-align:center; font-size:2.8em; font-family:Inter,sans-serif; font-weight:800; letter-spacing:-0.02em;">Interview Forge</h1><p style="text-align:center; color:#6b7280; font-size:1em;">Success Through Preparation</p>'
|
| 444 |
|
| 445 |
|
| 446 |
+
with gr.Blocks() as app:
|
| 447 |
|
| 448 |
# ββ Hero header βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 449 |
gr.HTML(f"""
|
|
|
|
| 544 |
)
|
| 545 |
|
| 546 |
if __name__ == "__main__":
|
| 547 |
+
app.launch(server_name="0.0.0.0", share=False, theme=theme, css=custom_css)
|