Move Gradio theme and CSS to launch()
Browse files
app.py
CHANGED
|
@@ -270,7 +270,7 @@ Typed answers with calibrated probabilities, in one forward pass. No generated t
|
|
| 270 |
The router reads the script before the forward pass and sends non-English text to the multilingual checkpoint.
|
| 271 |
"""
|
| 272 |
|
| 273 |
-
with gr.Blocks(title="Laya"
|
| 274 |
with gr.Column(elem_id="col-container"):
|
| 275 |
gr.Markdown(INTRO)
|
| 276 |
|
|
@@ -408,4 +408,4 @@ with gr.Blocks(title="Laya", theme=gr.themes.Soft(), css=CSS) as demo:
|
|
| 408 |
)
|
| 409 |
|
| 410 |
if __name__ == "__main__":
|
| 411 |
-
demo.queue(max_size=20).launch(mcp_server=True)
|
|
|
|
| 270 |
The router reads the script before the forward pass and sends non-English text to the multilingual checkpoint.
|
| 271 |
"""
|
| 272 |
|
| 273 |
+
with gr.Blocks(title="Laya") as demo:
|
| 274 |
with gr.Column(elem_id="col-container"):
|
| 275 |
gr.Markdown(INTRO)
|
| 276 |
|
|
|
|
| 408 |
)
|
| 409 |
|
| 410 |
if __name__ == "__main__":
|
| 411 |
+
demo.queue(max_size=20).launch(mcp_server=True, theme=gr.themes.Soft(), css=CSS)
|