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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -6
app.py CHANGED
@@ -444,8 +444,7 @@ with gr.Blocks(title="πŸ”₯ Advanced Coding Copilot", css=custom_css, theme=gr.th
444
  analysis_type = gr.Dropdown(
445
  choices=["review", "explain", "optimize", "debug", "document", "custom"],
446
  value="review",
447
- label="πŸ” Analysis Type",
448
- info="Choose analysis type or select 'custom' to write your own prompt"
449
  )
450
  custom_prompt = gr.Textbox(
451
  label="✏️ Custom Prompt (when Analysis Type = 'custom')",
@@ -492,8 +491,7 @@ with gr.Blocks(title="πŸ”₯ Advanced Coding Copilot", css=custom_css, theme=gr.th
492
  reference_files = gr.File(
493
  label="πŸ“š Reference Files (optional)",
494
  file_count="multiple",
495
- file_types=[".py", ".ipynb"],
496
- info="Upload files to use as reference/context"
497
  )
498
  generate_btn = gr.Button("🎯 Generate Code", variant="primary", size="lg")
499
 
@@ -550,8 +548,7 @@ with gr.Blocks(title="πŸ”₯ Advanced Coding Copilot", css=custom_css, theme=gr.th
550
  label="πŸ“œ Chat History",
551
  lines=10,
552
  max_lines=20,
553
- show_copy_button=True,
554
- info="Complete conversation history"
555
  )
556
  download_chat = gr.File(
557
  label="πŸ’Ύ Download Chat Response",
 
444
  analysis_type = gr.Dropdown(
445
  choices=["review", "explain", "optimize", "debug", "document", "custom"],
446
  value="review",
447
+ label="πŸ” Analysis Type"
 
448
  )
449
  custom_prompt = gr.Textbox(
450
  label="✏️ Custom Prompt (when Analysis Type = 'custom')",
 
491
  reference_files = gr.File(
492
  label="πŸ“š Reference Files (optional)",
493
  file_count="multiple",
494
+ file_types=[".py", ".ipynb"]
 
495
  )
496
  generate_btn = gr.Button("🎯 Generate Code", variant="primary", size="lg")
497
 
 
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",