euler314 commited on
Commit
517570d
Β·
verified Β·
1 Parent(s): 2ff0099

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -772,8 +772,8 @@ input('Press Enter to exit...')""",
772
  placeholder="""# System packages (for reference only)
773
  # These should be pre-installed in HF Spaces
774
  # mingw-w64
775
- # gcc-mingw-w64-x86-64
776
- # g++-mingw-w64-x86-64""",
777
  lines=8,
778
  label="System packages (Reference Only)",
779
  interactive=True
@@ -817,7 +817,7 @@ input('Press Enter to exit...')""",
817
  gr.Markdown("### πŸ“Š Compilation Progress")
818
  progress_bar = gr.HTML(create_progress_bar(0, "Ready to compile..."))
819
 
820
- # Real-time Logs Section
821
  with gr.Column(visible=False) as logs_section:
822
  gr.Markdown("### πŸ“œ Real-time Compilation Logs")
823
  real_time_logs = gr.Textbox(
@@ -825,8 +825,7 @@ input('Press Enter to exit...')""",
825
  lines=15,
826
  max_lines=30,
827
  value="Logs will appear here during compilation...",
828
- interactive=False,
829
- scroll_to_output=True
830
  )
831
 
832
  # Results section
@@ -1110,7 +1109,7 @@ input('Press Enter to exit...')""",
1110
  **For Windows cross-compilation, the following should be pre-installed:**
1111
  ```bash
1112
  # Ubuntu/Debian
1113
- apt install mingw-w64 gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64
1114
 
1115
  # Fedora/RHEL
1116
  dnf install mingw64-gcc mingw64-g++
 
772
  placeholder="""# System packages (for reference only)
773
  # These should be pre-installed in HF Spaces
774
  # mingw-w64
775
+ # gcc-mingw-w64
776
+ # g++-mingw-w64""",
777
  lines=8,
778
  label="System packages (Reference Only)",
779
  interactive=True
 
817
  gr.Markdown("### πŸ“Š Compilation Progress")
818
  progress_bar = gr.HTML(create_progress_bar(0, "Ready to compile..."))
819
 
820
+ # Real-time Logs Section (FIXED: removed scroll_to_output parameter)
821
  with gr.Column(visible=False) as logs_section:
822
  gr.Markdown("### πŸ“œ Real-time Compilation Logs")
823
  real_time_logs = gr.Textbox(
 
825
  lines=15,
826
  max_lines=30,
827
  value="Logs will appear here during compilation...",
828
+ interactive=False
 
829
  )
830
 
831
  # Results section
 
1109
  **For Windows cross-compilation, the following should be pre-installed:**
1110
  ```bash
1111
  # Ubuntu/Debian
1112
+ apt install mingw-w64 gcc-mingw-w64 g++-mingw-w64
1113
 
1114
  # Fedora/RHEL
1115
  dnf install mingw64-gcc mingw64-g++