loubnabnl HF staff commited on
Commit
e7e2707
1 Parent(s): 8bcc870

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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,