Shinhati2023 commited on
Commit
a35aae1
1 Parent(s): fa4564e

Update Gradio App.Py

Browse files
Files changed (1) hide show
  1. Gradio App.Py +4 -1
Gradio App.Py CHANGED
@@ -1 +1,4 @@
1
- pip install
 
 
 
 
1
+ inputs = gr.inputs.Textbox(lines=1, label="Enter an arithmetic expression")
2
+ outputs = gr.outputs.Textbox(label="Result")
3
+ interface = gr.Interface(fn=calculate_expression, inputs=inputs, outputs=outputs, title="Calculator")
4
+ interface.launch()