RFTSystems commited on
Commit
b408bdb
·
verified ·
1 Parent(s): acdeca8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
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="magenta",
50
- neutral_hue="black",
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", elem_classes="glow-button")
65
- output = gr.Markdown(elem_classes="scroll-output")
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", elem_classes="glow-button")
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