Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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",
|