Spaces:
Sleeping
Sleeping
Commit ·
2fdb48f
1
Parent(s): 4f726ad
Enhance Gradio launch with custom CSS
Browse filesAdded custom CSS to Gradio frontend for styling.
- launch_all.py +1 -1
launch_all.py
CHANGED
|
@@ -11,4 +11,4 @@ threading.Thread(target=run_backend, daemon=True).start()
|
|
| 11 |
|
| 12 |
# Start Gradio frontend
|
| 13 |
demo = create_gradio_interface(backend_url="http://127.0.0.1:8000/predict")
|
| 14 |
-
demo.launch(server_name="0.0.0.0", server_port=7860)
|
|
|
|
| 11 |
|
| 12 |
# Start Gradio frontend
|
| 13 |
demo = create_gradio_interface(backend_url="http://127.0.0.1:8000/predict")
|
| 14 |
+
demo.launch(server_name="0.0.0.0", server_port=7860, css=".result-box textarea { font-size: 1.5rem !important; font-weight: 600 !important; text-align: center !important; }")
|