Asna-DifiNative commited on
Commit
2df15d9
·
1 Parent(s): 36ca155

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -25,13 +25,11 @@ example_instructions = [
25
  ]
26
 
27
  # Gradio Interface
28
- examples_box = gr.outputs.State([example_instructions])
29
-
30
  iface = gr.Interface(
31
  fn=translate_instruction,
32
  inputs=gr.inputs.Textbox(label="Enter Human Instruction"),
33
  outputs=gr.outputs.Textbox(label="Generated CLI Command"),
34
- examples=examples_box
35
  )
36
 
37
  # Launch the Gradio app using Ngrok
 
25
  ]
26
 
27
  # Gradio Interface
 
 
28
  iface = gr.Interface(
29
  fn=translate_instruction,
30
  inputs=gr.inputs.Textbox(label="Enter Human Instruction"),
31
  outputs=gr.outputs.Textbox(label="Generated CLI Command"),
32
+ examples=example_instructions
33
  )
34
 
35
  # Launch the Gradio app using Ngrok