prernajeet14 commited on
Commit
91043f2
Β·
verified Β·
1 Parent(s): 1abb37a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -8
app.py CHANGED
@@ -458,8 +458,7 @@ with gr.Blocks(title="πŸ”₯ Advanced Coding Copilot", css=custom_css, theme=gr.th
458
  analysis_output = gr.Textbox(
459
  label="πŸ“Š Analysis Result",
460
  lines=25,
461
- max_lines=40,
462
- show_copy_button=True
463
  )
464
 
465
  # Show/hide custom prompt based on analysis type
@@ -499,8 +498,7 @@ with gr.Blocks(title="πŸ”₯ Advanced Coding Copilot", css=custom_css, theme=gr.th
499
  generated_code = gr.Code(
500
  label="πŸ”§ Generated Code",
501
  language="python",
502
- lines=25,
503
- show_copy_button=True
504
  )
505
  download_generated = gr.File(
506
  label="πŸ’Ύ Download Generated Code",
@@ -541,14 +539,12 @@ with gr.Blocks(title="πŸ”₯ Advanced Coding Copilot", css=custom_css, theme=gr.th
541
  chat_output = gr.Textbox(
542
  label="πŸ€– AI Response",
543
  lines=15,
544
- max_lines=25,
545
- show_copy_button=True
546
  )
547
  chat_history_display = gr.Textbox(
548
  label="πŸ“œ Chat History",
549
  lines=10,
550
- max_lines=20,
551
- show_copy_button=True
552
  )
553
  download_chat = gr.File(
554
  label="πŸ’Ύ Download Chat Response",
 
458
  analysis_output = gr.Textbox(
459
  label="πŸ“Š Analysis Result",
460
  lines=25,
461
+ max_lines=40
 
462
  )
463
 
464
  # Show/hide custom prompt based on analysis type
 
498
  generated_code = gr.Code(
499
  label="πŸ”§ Generated Code",
500
  language="python",
501
+ lines=25
 
502
  )
503
  download_generated = gr.File(
504
  label="πŸ’Ύ Download Generated Code",
 
539
  chat_output = gr.Textbox(
540
  label="πŸ€– AI Response",
541
  lines=15,
542
+ max_lines=25
 
543
  )
544
  chat_history_display = gr.Textbox(
545
  label="πŸ“œ Chat History",
546
  lines=10,
547
+ max_lines=20
 
548
  )
549
  download_chat = gr.File(
550
  label="πŸ’Ύ Download Chat Response",