Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ examples = [
|
|
60 |
]
|
61 |
|
62 |
# Gradio интерфейс
|
63 |
-
with gr.Blocks(theme=
|
64 |
gr.Markdown("# AI Code Generator with Update Feature")
|
65 |
gr.Markdown("Enter a prompt and select the file type or platform to generate code. You can also update the generated code with a new prompt.")
|
66 |
|
@@ -72,8 +72,8 @@ with gr.Blocks(theme="Nymbo/Nymbo-Theme") as demo:
|
|
72 |
value="Python"
|
73 |
)
|
74 |
|
75 |
-
# Панель для кода с большим количеством строк
|
76 |
-
output_code = gr.Textbox(label="Generated Code", lines=
|
77 |
|
78 |
# Кнопка "Скопировать"
|
79 |
copy_button = gr.Button("Скопировать код")
|
|
|
60 |
]
|
61 |
|
62 |
# Gradio интерфейс
|
63 |
+
with gr.Blocks(theme='Nymbo/Nymbo-Theme') as demo:
|
64 |
gr.Markdown("# AI Code Generator with Update Feature")
|
65 |
gr.Markdown("Enter a prompt and select the file type or platform to generate code. You can also update the generated code with a new prompt.")
|
66 |
|
|
|
72 |
value="Python"
|
73 |
)
|
74 |
|
75 |
+
# Панель для кода с очень большим количеством строк
|
76 |
+
output_code = gr.Textbox(label="Generated Code", lines=1000, interactive=False)
|
77 |
|
78 |
# Кнопка "Скопировать"
|
79 |
copy_button = gr.Button("Скопировать код")
|