Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,10 +23,10 @@ Demo = gr.Interface(
|
|
| 23 |
gr.Textbox(label="Code Prompt", lines=10, placeholder="Enter a description or snippet for code generation."),
|
| 24 |
gr.Slider(
|
| 25 |
label="Code Length (Tokens Approx.)",
|
| 26 |
-
minimum=10, maximum=
|
| 27 |
)
|
| 28 |
],
|
| 29 |
-
outputs=[gr.Textbox(label="Generated Code", lines=
|
| 30 |
title="Code_Generator_App",
|
| 31 |
description="This application generates code based on your input prompt."
|
| 32 |
)
|
|
|
|
| 23 |
gr.Textbox(label="Code Prompt", lines=10, placeholder="Enter a description or snippet for code generation."),
|
| 24 |
gr.Slider(
|
| 25 |
label="Code Length (Tokens Approx.)",
|
| 26 |
+
minimum=10, maximum=2000, step=20, value=50
|
| 27 |
)
|
| 28 |
],
|
| 29 |
+
outputs=[gr.Textbox(label="Generated Code", lines=10)],
|
| 30 |
title="Code_Generator_App",
|
| 31 |
description="This application generates code based on your input prompt."
|
| 32 |
)
|