SantanuBanerjee commited on
Commit
db05398
·
verified ·
1 Parent(s): 2c1a4c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -13
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="<p style='font-weight: bold; font-size: 16px;'> Download Processed Excel File containing the Project Proposals for each Location~Problem paired combination </p>"), # File download output
82
 
83
 
84
  title="Excel File Uploader",
85
- # description="Upload an Excel file to process and download the result.",
86
- description="Upload an Excel file to process and download the result or use the example files (click on anyone of them)."
87
-
88
- # title="<h1 style='font-weight: bold;'>Excel File Uploader</h1>", # Solid title
89
- # description="<p style='font-weight: bold; font-size: 16px;'>Upload an Excel file to process and download the result or use the example files.</p>", # Solid description
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