Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -45,9 +45,9 @@ def plot_complexity(n=50):
|
|
| 45 |
|
| 46 |
# === Gradio App ===
|
| 47 |
custom_theme = gr.themes.Base(
|
| 48 |
-
primary_hue="cyan",
|
| 49 |
-
secondary_hue="
|
| 50 |
-
neutral_hue="
|
| 51 |
)
|
| 52 |
|
| 53 |
with gr.Blocks(theme=custom_theme) as demo:
|
|
@@ -61,13 +61,13 @@ with gr.Blocks(theme=custom_theme) as demo:
|
|
| 61 |
|
| 62 |
with gr.Tab("Codex Scrolls"):
|
| 63 |
gr.Markdown("### 🔢 Live Epoch Run")
|
| 64 |
-
run_button = gr.Button("Run 50 Epochs"
|
| 65 |
-
output = gr.Markdown(
|
| 66 |
run_button.click(fn=run_epochs, inputs=None, outputs=output)
|
| 67 |
|
| 68 |
with gr.Tab("Complexity Timeline"):
|
| 69 |
gr.Markdown("### 📈 Complexity Growth")
|
| 70 |
-
plot_button = gr.Button("Show Complexity Growth"
|
| 71 |
plot_output = gr.Plot()
|
| 72 |
plot_button.click(fn=plot_complexity, inputs=None, outputs=plot_output)
|
| 73 |
|
|
|
|
| 45 |
|
| 46 |
# === Gradio App ===
|
| 47 |
custom_theme = gr.themes.Base(
|
| 48 |
+
primary_hue="cyan", # supported hue
|
| 49 |
+
secondary_hue="pink", # supported hue
|
| 50 |
+
neutral_hue="gray", # supported hue
|
| 51 |
)
|
| 52 |
|
| 53 |
with gr.Blocks(theme=custom_theme) as demo:
|
|
|
|
| 61 |
|
| 62 |
with gr.Tab("Codex Scrolls"):
|
| 63 |
gr.Markdown("### 🔢 Live Epoch Run")
|
| 64 |
+
run_button = gr.Button("Run 50 Epochs")
|
| 65 |
+
output = gr.Markdown()
|
| 66 |
run_button.click(fn=run_epochs, inputs=None, outputs=output)
|
| 67 |
|
| 68 |
with gr.Tab("Complexity Timeline"):
|
| 69 |
gr.Markdown("### 📈 Complexity Growth")
|
| 70 |
+
plot_button = gr.Button("Show Complexity Growth")
|
| 71 |
plot_output = gr.Plot()
|
| 72 |
plot_button.click(fn=plot_complexity, inputs=None, outputs=plot_output)
|
| 73 |
|