Spaces:
Paused
Paused
Commit ·
a593df9
1
Parent(s): 4dfbc48
Fix Gradio runtime error by moving theme to gr.Blocks
Browse files
app.py
CHANGED
|
@@ -101,7 +101,7 @@ def run_llm_training(
|
|
| 101 |
|
| 102 |
# ── Gradio UI ─────────────────────────────────────────────────────────────────
|
| 103 |
|
| 104 |
-
with gr.Blocks(title="Cloud Arena RL") as demo:
|
| 105 |
gr.Markdown("# ☁️ Cloud Arena — RL Training Space")
|
| 106 |
gr.Markdown("Two separate RL systems: **Mathematical Model** (MaskablePPO) and **LLM Model** (LLaMA + LoRA)")
|
| 107 |
|
|
@@ -153,4 +153,4 @@ with gr.Blocks(title="Cloud Arena RL") as demo:
|
|
| 153 |
)
|
| 154 |
|
| 155 |
if __name__ == "__main__":
|
| 156 |
-
demo.launch(server_name="0.0.0.0", server_port=7860
|
|
|
|
| 101 |
|
| 102 |
# ── Gradio UI ─────────────────────────────────────────────────────────────────
|
| 103 |
|
| 104 |
+
with gr.Blocks(title="Cloud Arena RL", theme=gr.themes.Base()) as demo:
|
| 105 |
gr.Markdown("# ☁️ Cloud Arena — RL Training Space")
|
| 106 |
gr.Markdown("Two separate RL systems: **Mathematical Model** (MaskablePPO) and **LLM Model** (LLaMA + LoRA)")
|
| 107 |
|
|
|
|
| 153 |
)
|
| 154 |
|
| 155 |
if __name__ == "__main__":
|
| 156 |
+
demo.launch(server_name="0.0.0.0", server_port=7860)
|