Update app.py
Browse files
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)"),
|