NorthernTribe-Research commited on
Commit
a004f5c
·
verified ·
1 Parent(s): b628dab

Fix startup compatibility: Lean output textbox + launch css

Browse files
Files changed (2) hide show
  1. __pycache__/app.cpython-313.pyc +0 -0
  2. app.py +3 -3
__pycache__/app.cpython-313.pyc ADDED
Binary file (21.9 kB). View file
 
app.py CHANGED
@@ -445,7 +445,7 @@ def analyze_conjecture(
445
  )
446
 
447
 
448
- with gr.Blocks(title="Conjecture Lean+AI Lab", css=UI_CSS) as demo:
449
  gr.HTML(
450
  """
451
  <section class="hero">
@@ -504,7 +504,7 @@ with gr.Blocks(title="Conjecture Lean+AI Lab", css=UI_CSS) as demo:
504
  )
505
  work_log_box = gr.Textbox(label="Work Log (always visible)", lines=18, max_lines=30, interactive=False)
506
  prompt_box = gr.Textbox(label="Prompt Sent to Model", lines=14, max_lines=22, interactive=False)
507
- lean_box = gr.Code(label="Lean Verification Stub", language="lean")
508
 
509
  run_btn.click(
510
  fn=analyze_conjecture,
@@ -528,4 +528,4 @@ demo.queue(default_concurrency_limit=2)
528
 
529
 
530
  if __name__ == "__main__":
531
- demo.launch()
 
445
  )
446
 
447
 
448
+ with gr.Blocks(title="Conjecture Lean+AI Lab") as demo:
449
  gr.HTML(
450
  """
451
  <section class="hero">
 
504
  )
505
  work_log_box = gr.Textbox(label="Work Log (always visible)", lines=18, max_lines=30, interactive=False)
506
  prompt_box = gr.Textbox(label="Prompt Sent to Model", lines=14, max_lines=22, interactive=False)
507
+ lean_box = gr.Textbox(label="Lean Verification Stub", lines=12, max_lines=22, interactive=False)
508
 
509
  run_btn.click(
510
  fn=analyze_conjecture,
 
528
 
529
 
530
  if __name__ == "__main__":
531
+ demo.launch(css=UI_CSS)