Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -74,7 +74,12 @@ def process_excel(file):
|
|
| 74 |
|
| 75 |
|
| 76 |
|
| 77 |
-
example_files = ['#TaxDirection (Responses)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
|
| 79 |
# Define the Gradio interface
|
| 80 |
interface = gr.Interface(
|
|
@@ -102,9 +107,8 @@ interface = gr.Interface(
|
|
| 102 |
|
| 103 |
"<p style='font-size: 14px; color: gray;'>Note: The example files provided above are for demonstration purposes. "
|
| 104 |
"Feel free to upload your own Excel files to see the results. If you have any questions, refer to the documentation-links or contact "
|
| 105 |
-
"<a href='https://www.change.org/p/democracy-evolution-ensuring-humanity-s-eternal-existence-through-taxdirection' target='_blank'>support</a
|
| 106 |
-
"
|
| 107 |
-
"<a href='https://santanban.github.io/TaxDirection/' target='_blank'>#TaxDirection weblink</a>.</p>"
|
| 108 |
) # Solid description with right-aligned second sentence
|
| 109 |
|
| 110 |
)
|
|
@@ -113,23 +117,4 @@ interface = gr.Interface(
|
|
| 113 |
|
| 114 |
# Launch the interface
|
| 115 |
if __name__ == "__main__":
|
| 116 |
-
interface.launch()
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
# # Additional description at the bottom of the page
|
| 120 |
-
# additional_description = gr.HTML(
|
| 121 |
-
# "<p style='font-size: 14px; color: gray;'>Note: The example files provided above are for demonstration purposes. "
|
| 122 |
-
# "Feel free to upload your own Excel files to see the results. If you have any questions, refer to the documentation-links or contact "
|
| 123 |
-
# "<a href='https://www.change.org/p/democracy-evolution-ensuring-humanity-s-eternal-existence-through-taxdirection' target='_blank'>support</a>.\n</p>"
|
| 124 |
-
# "<p style='font-weight: bold; font-size: 17px;'>\t For more information, visit "
|
| 125 |
-
# "<a href='https://santanban.github.io/TaxDirection/' target='_blank'>#TaxDirection weblink</a>.</p>"
|
| 126 |
-
# )
|
| 127 |
-
|
| 128 |
-
# # Launch the interface with the additional description
|
| 129 |
-
# demo = gr.Blocks()
|
| 130 |
-
# with demo:
|
| 131 |
-
# interface.render()
|
| 132 |
-
# additional_description.render()
|
| 133 |
-
|
| 134 |
-
# if __name__ == "__main__":
|
| 135 |
-
# demo.launch()
|
|
|
|
| 74 |
|
| 75 |
|
| 76 |
|
| 77 |
+
example_files = ['#TaxDirection (Responses)_BasicExample.xlsx',
|
| 78 |
+
'#TaxDirection (Responses)_IntermediateExample.xlsx',
|
| 79 |
+
'#TaxDirection (Responses)_UltimateExample.xlsx'
|
| 80 |
+
]
|
| 81 |
+
|
| 82 |
+
|
| 83 |
|
| 84 |
# Define the Gradio interface
|
| 85 |
interface = gr.Interface(
|
|
|
|
| 107 |
|
| 108 |
"<p style='font-size: 14px; color: gray;'>Note: The example files provided above are for demonstration purposes. "
|
| 109 |
"Feel free to upload your own Excel files to see the results. If you have any questions, refer to the documentation-links or contact "
|
| 110 |
+
"<a href='https://www.change.org/p/democracy-evolution-ensuring-humanity-s-eternal-existence-through-taxdirection' target='_blank'>support</a>."
|
| 111 |
+
"For more information, visit <a href='https://santanban.github.io/TaxDirection/' target='_blank'>#TaxDirection weblink</a>.</p>"
|
|
|
|
| 112 |
) # Solid description with right-aligned second sentence
|
| 113 |
|
| 114 |
)
|
|
|
|
| 117 |
|
| 118 |
# Launch the interface
|
| 119 |
if __name__ == "__main__":
|
| 120 |
+
interface.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|