SantanuBanerjee commited on
Commit
1446dbe
·
verified ·
1 Parent(s): 20b4bb2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +21 -3
app.py CHANGED
@@ -86,11 +86,29 @@ interface = gr.Interface(
86
  "<p style='font-weight: bold; font-size: 17px;'>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. For more information, visit "
89
- "<a href='https://github.com/SanTanBan/TaxDirection' target='_blank'>this link</a>.</p>"
90
  ) # Solid description with hyperlink
91
  )
92
 
93
 
94
- # Launch the interface
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
95
  if __name__ == "__main__":
96
- interface.launch()
 
86
  "<p style='font-weight: bold; font-size: 17px;'>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. For more information, visit "
89
+ "<a href='https://santanban.github.io/TaxDirection/' target='_blank'>this link</a>.</p>"
90
  ) # Solid description with hyperlink
91
  )
92
 
93
 
94
+
95
+ # # Launch the interface
96
+ # if __name__ == "__main__":
97
+ # interface.launch()
98
+
99
+
100
+ # Additional description at the bottom of the page
101
+ additional_description = gr.HTML(
102
+ "<p style='font-size: 14px; color: gray;'>Note: The example files provided above are for demonstration purposes. "
103
+ "Feel free to upload your own Excel files to see the results. If you have any questions, refer to the documentation or "
104
+ "contact support.</p>"
105
+ )
106
+
107
+ # Launch the interface with the additional description
108
+ demo = gr.Blocks()
109
+ with demo:
110
+ interface.render()
111
+ additional_description.render()
112
+
113
  if __name__ == "__main__":
114
+ demo.launch()