Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def code_generation(gen_prompt, max_tokens, temperature=0.6, seed=42):
|
|
30 |
iface = gr.Interface(
|
31 |
fn=code_generation,
|
32 |
inputs=[
|
33 |
-
gr.Code(lines=10, label="English instructions"),
|
34 |
gr.inputs.Slider(
|
35 |
minimum=8,
|
36 |
maximum=256,
|
|
|
30 |
iface = gr.Interface(
|
31 |
fn=code_generation,
|
32 |
inputs=[
|
33 |
+
gr.Code(lines=10, language="python", label="English instructions"),
|
34 |
gr.inputs.Slider(
|
35 |
minimum=8,
|
36 |
maximum=256,
|