Jurk06 commited on
Commit
f957c43
·
verified ·
1 Parent(s): 07b52c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -135,8 +135,8 @@ def process(file, url, task, target, x_feature, y_feature):
135
  demo = gr.Interface(
136
  fn=process,
137
  inputs=[
138
- gr.File(label="Upload CSV File", file_types=['.csv'], optional=True),
139
- gr.Textbox(label="Or enter URL to CSV", placeholder="https://...", lines=1, optional=True),
140
  gr.Radio(["classification", "regression"], label="Select Task Type"),
141
  gr.Textbox(label="Target Column Name"),
142
  gr.Textbox(label="Feature for X-Axis (for visualization)"),
 
135
  demo = gr.Interface(
136
  fn=process,
137
  inputs=[
138
+ gr.File(label="Upload CSV File", file_types=['.csv']), #optional=True),
139
+ gr.Textbox(label="Or enter URL to CSV", placeholder="https://...", lines=1), #optional=True),
140
  gr.Radio(["classification", "regression"], label="Select Task Type"),
141
  gr.Textbox(label="Target Column Name"),
142
  gr.Textbox(label="Feature for X-Axis (for visualization)"),