Sagar commited on
Commit
a04aaa9
·
1 Parent(s): 6e14a9e

Updated Code

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -94,4 +94,7 @@ def greet(input):
94
  y = str(y)
95
  return y
96
 
97
- iface = gr.Interface(fn=greet, inputs="text", outputs="text").launch(share=True)
 
 
 
 
94
  y = str(y)
95
  return y
96
 
97
+ textbox_x = gr.Textbox(label="Variable X:", placeholder="10", lines=1)
98
+ textbox_y = gr.Textbox(label="Variable Y:", placeholder ="11", lines=1)
99
+ gr.Interface(title = "Lineare Regression",fn=greet, inputs=textbox_x, outputs=textbox_y).launch(share=True)
100
+