Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -73,26 +73,20 @@ example_files = ['#TaxDirection (Responses)_Example1.xlsx', ]
|
|
73 |
# Define the Gradio interface
|
74 |
interface = gr.Interface(
|
75 |
fn=process_excel, # The function to process the uploaded file
|
76 |
-
inputs=gr.File(type="filepath", label="Upload Excel File"), # File upload input
|
77 |
|
78 |
examples=example_files, # Add the example files
|
79 |
|
80 |
# outputs=gr.File(label="Download Processed Excel File"), # File download output
|
81 |
-
outputs=gr.File(label="
|
82 |
|
83 |
|
84 |
title="Excel File Uploader",
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
# description=(
|
92 |
-
# "<p style='font-weight: bold; font-size: 16px;'>Upload an Excel file to process and download the result "
|
93 |
-
# "or use the example files. The processed file will contain the project proposals for each "
|
94 |
-
# "location-problem paired combination.</p>"
|
95 |
-
# ), # Solid description
|
96 |
)
|
97 |
|
98 |
|
|
|
73 |
# Define the Gradio interface
|
74 |
interface = gr.Interface(
|
75 |
fn=process_excel, # The function to process the uploaded file
|
76 |
+
inputs=gr.File(type="filepath", label="Upload Excel File. \n Be sure to check that the column headings in your upload are same as in the Example file below. \n (Otherwise, there will be an error during the processing.)"), # File upload input
|
77 |
|
78 |
examples=example_files, # Add the example files
|
79 |
|
80 |
# outputs=gr.File(label="Download Processed Excel File"), # File download output
|
81 |
+
outputs=gr.File(label="Download Processed Excel File containing the \n Project Proposals for each Location~Problem paired combination"), # File download output
|
82 |
|
83 |
|
84 |
title="Excel File Uploader",
|
85 |
+
description=(
|
86 |
+
"<p style='font-weight: bold; font-size: 16px;'>Upload an Excel file to process and download the result "
|
87 |
+
"or use the example files. The processed file will contain the project proposals for each "
|
88 |
+
"location-problem paired combination.</p>"
|
89 |
+
), # Solid description
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
)
|
91 |
|
92 |
|