Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -398,11 +398,12 @@ with gr.Blocks(
|
|
| 398 |
|
| 399 |
with gr.Row():
|
| 400 |
with gr.Column(scale=1):
|
| 401 |
-
code_input = gr.Code(
|
|
|
|
| 402 |
with gr.Row():
|
| 403 |
analyze_btn = gr.Button("🔍 Analyze Security", variant="primary", size="lg")
|
| 404 |
json_btn = gr.Button("📋 JSON Report", variant="secondary", size="lg")
|
| 405 |
-
|
| 406 |
report_output = gr.Markdown(label="Security Report")
|
| 407 |
|
| 408 |
download_btn = gr.Button(
|
|
|
|
| 398 |
|
| 399 |
with gr.Row():
|
| 400 |
with gr.Column(scale=1):
|
| 401 |
+
code_input = gr.Code(
|
| 402 |
+
label="Paste Your Code Here", language="python", lines=20)
|
| 403 |
with gr.Row():
|
| 404 |
analyze_btn = gr.Button("🔍 Analyze Security", variant="primary", size="lg")
|
| 405 |
json_btn = gr.Button("📋 JSON Report", variant="secondary", size="lg")
|
| 406 |
+
with gr.Column(scale=1):
|
| 407 |
report_output = gr.Markdown(label="Security Report")
|
| 408 |
|
| 409 |
download_btn = gr.Button(
|