Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -110,13 +110,17 @@ with gr.Blocks() as demo:
|
|
110 |
with gr.Column():
|
111 |
request_input = gr.Textbox(
|
112 |
label="Request",
|
113 |
-
value="fix the
|
114 |
placeholder="Enter your request (e.g., 'fix the function', 'add error handling')",
|
115 |
lines=3
|
116 |
)
|
117 |
file_input = gr.Code(
|
118 |
label="File Content",
|
119 |
-
value="def
|
|
|
|
|
|
|
|
|
120 |
language="python",
|
121 |
lines=10
|
122 |
)
|
@@ -138,7 +142,7 @@ with gr.Blocks() as demo:
|
|
138 |
temperature = gr.Slider(
|
139 |
minimum=0.1,
|
140 |
maximum=4.0,
|
141 |
-
value=
|
142 |
step=0.5,
|
143 |
label="Temperature"
|
144 |
)
|
|
|
110 |
with gr.Column():
|
111 |
request_input = gr.Textbox(
|
112 |
label="Request",
|
113 |
+
value="fix the error",
|
114 |
placeholder="Enter your request (e.g., 'fix the function', 'add error handling')",
|
115 |
lines=3
|
116 |
)
|
117 |
file_input = gr.Code(
|
118 |
label="File Content",
|
119 |
+
value="""def suma(a, b):
|
120 |
+
return a + b
|
121 |
+
|
122 |
+
print(suma(5, "3"))
|
123 |
+
""",
|
124 |
language="python",
|
125 |
lines=10
|
126 |
)
|
|
|
142 |
temperature = gr.Slider(
|
143 |
minimum=0.1,
|
144 |
maximum=4.0,
|
145 |
+
value=0.5,
|
146 |
step=0.5,
|
147 |
label="Temperature"
|
148 |
)
|