Felguk commited on
Commit
647a73f
·
verified ·
1 Parent(s): 69e132c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -60,7 +60,7 @@ examples = [
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,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=72943, interactive=False)
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("Скопировать код")