Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def predict_and_download(positive_csv_file, unlabelled_csv_file, n,nu):
|
|
22 |
# Create the interface
|
23 |
iface = gr.Interface(
|
24 |
fn=predict_and_download,
|
25 |
-
inputs=["file", "file", "number","
|
26 |
outputs=[gr.DataFrame(label="Selected Papers"), gr.DownloadButton(label="Download CSV")],
|
27 |
title="Paper Prediction",
|
28 |
description="Enter text and upload CSV files for labelled and unlabelled data.",
|
|
|
22 |
# Create the interface
|
23 |
iface = gr.Interface(
|
24 |
fn=predict_and_download,
|
25 |
+
inputs=["file", "file", "number","number"],
|
26 |
outputs=[gr.DataFrame(label="Selected Papers"), gr.DownloadButton(label="Download CSV")],
|
27 |
title="Paper Prediction",
|
28 |
description="Enter text and upload CSV files for labelled and unlabelled data.",
|