sourav11295 commited on
Commit
6471834
·
1 Parent(s): 44dc288

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -135,11 +135,11 @@ with gr.Blocks() as demo:
135
  submit = gr.Button("Submit")
136
  text = gr.Text(label="Suitable Algorithm")
137
  other1 = gr.Text(label="Categorical Variables")
138
- other2 = gr.Text(label="Ordinal Vairables")
139
- other3 = gr.Text(label="Nominal Variables")
140
  with gr.Row():
141
  org = gr.DataFrame(overflow_row_behaviour="paginate", label="Original Data")
142
  converted = gr.DataFrame(overflow_row_behaviour="paginate", label="Transformed Data")
143
  result = gr.DataFrame(label="Result")
144
  submit.click(fn=read, inputs=[file,dep,ord], outputs=[org,converted,result,text,other1,other2,other3])
145
- demo.launch(share=True)
 
135
  submit = gr.Button("Submit")
136
  text = gr.Text(label="Suitable Algorithm")
137
  other1 = gr.Text(label="Categorical Variables")
138
+ other2 = gr.Text(label="LabelEncoded Vairables")
139
+ other3 = gr.Text(label="OneHotEncoded Variables")
140
  with gr.Row():
141
  org = gr.DataFrame(overflow_row_behaviour="paginate", label="Original Data")
142
  converted = gr.DataFrame(overflow_row_behaviour="paginate", label="Transformed Data")
143
  result = gr.DataFrame(label="Result")
144
  submit.click(fn=read, inputs=[file,dep,ord], outputs=[org,converted,result,text,other1,other2,other3])
145
+ demo.launch()