Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -40,8 +40,8 @@ def predict_batch_from_csv(input_file, output_file):
|
|
40 |
return "Prediction completed. Results saved to " + output_file
|
41 |
|
42 |
# Define the Gradio interface
|
43 |
-
input_csv = gr.inputs.File(label="Input CSV", type="file"
|
44 |
-
output_csv = gr.outputs.File(label="Output CSV"
|
45 |
|
46 |
# Define the prediction function for the Gradio interface
|
47 |
def predict_interface(input_file):
|
|
|
40 |
return "Prediction completed. Results saved to " + output_file
|
41 |
|
42 |
# Define the Gradio interface
|
43 |
+
input_csv = gr.inputs.File(label="Input CSV", type="file")
|
44 |
+
output_csv = gr.outputs.File(label="Output CSV")
|
45 |
|
46 |
# Define the prediction function for the Gradio interface
|
47 |
def predict_interface(input_file):
|