reverting previous commit
Browse files- modules/navbar.py +1 -6
modules/navbar.py
CHANGED
|
@@ -1,6 +1,5 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
import app_matching_page
|
| 3 |
-
import pkg_resources
|
| 4 |
|
| 5 |
# giz-dsc colors
|
| 6 |
# orange: #e5b50d
|
|
@@ -35,11 +34,6 @@ def show_navbar():
|
|
| 35 |
|
| 36 |
with tab1:
|
| 37 |
app_matching_page.show_landing_page()
|
| 38 |
-
installed_packages = pkg_resources.working_set
|
| 39 |
-
package_list_ = ""
|
| 40 |
-
for package in installed_packages:
|
| 41 |
-
package_list_ = package_list_ + f"{package.key}=={package.version}\n"
|
| 42 |
-
st.download_button('Download Requirements', package_list_, file_name='Synergy_requirements.txt')
|
| 43 |
|
| 44 |
with tab2:
|
| 45 |
app_matching_page.show_all_projects_page()
|
|
@@ -49,3 +43,4 @@ def show_navbar():
|
|
| 49 |
|
| 50 |
with tab4:
|
| 51 |
app_matching_page.show_multi_matching_page()
|
|
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import app_matching_page
|
|
|
|
| 3 |
|
| 4 |
# giz-dsc colors
|
| 5 |
# orange: #e5b50d
|
|
|
|
| 34 |
|
| 35 |
with tab1:
|
| 36 |
app_matching_page.show_landing_page()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
with tab2:
|
| 39 |
app_matching_page.show_all_projects_page()
|
|
|
|
| 43 |
|
| 44 |
with tab4:
|
| 45 |
app_matching_page.show_multi_matching_page()
|
| 46 |
+
|