Spaces:
Runtime error
Runtime error
Commit ·
2df15d9
1
Parent(s): 36ca155
Update app.py
Browse files
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=
|
| 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
|