Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -72,12 +72,12 @@ def submit_profile(name, discord, city, country, address, looking, onlinecheck,
|
|
72 |
"Country": country,
|
73 |
"Address": address,
|
74 |
"Looking for Team": looking,
|
75 |
-
"
|
76 |
"Languages": languages,
|
77 |
"Laptop": laptop,
|
78 |
"Robot": robot,
|
79 |
"Skills": skills,
|
80 |
-
"
|
81 |
"Experience": experience,
|
82 |
"Project Idea": idea
|
83 |
})
|
@@ -90,12 +90,12 @@ def submit_profile(name, discord, city, country, address, looking, onlinecheck,
|
|
90 |
"Country": country,
|
91 |
"Address": address,
|
92 |
"Looking for Team": looking,
|
93 |
-
"
|
94 |
"Languages": languages,
|
95 |
"Laptop": laptop,
|
96 |
"Robot": robot,
|
97 |
"Skills": skills,
|
98 |
-
"
|
99 |
"Experience": experience,
|
100 |
"Project Idea": idea
|
101 |
})
|
@@ -143,6 +143,23 @@ def filter_by_fields(selected_country, selected_city, selected_language):
|
|
143 |
if df.empty:
|
144 |
return "<p>No participants match your filters.</p>"
|
145 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
html = '<h3 style="margin-top:20px;">π Find your matching Teammates & Register your team <a href="https://forms.gle/gJEMGD4CEA2emhD18" target="_blank">here</a>ππ</h3>'
|
147 |
html += "<table style='width:100%; border-collapse: collapse;'>"
|
148 |
|
|
|
72 |
"Country": country,
|
73 |
"Address": address,
|
74 |
"Looking for Team": looking,
|
75 |
+
"Onlinecheck": onlinecheck,
|
76 |
"Languages": languages,
|
77 |
"Laptop": laptop,
|
78 |
"Robot": robot,
|
79 |
"Skills": skills,
|
80 |
+
"Describe3": describe3,
|
81 |
"Experience": experience,
|
82 |
"Project Idea": idea
|
83 |
})
|
|
|
90 |
"Country": country,
|
91 |
"Address": address,
|
92 |
"Looking for Team": looking,
|
93 |
+
"Onlinecheck": onlinecheck,
|
94 |
"Languages": languages,
|
95 |
"Laptop": laptop,
|
96 |
"Robot": robot,
|
97 |
"Skills": skills,
|
98 |
+
"Describe3": describe3,
|
99 |
"Experience": experience,
|
100 |
"Project Idea": idea
|
101 |
})
|
|
|
143 |
if df.empty:
|
144 |
return "<p>No participants match your filters.</p>"
|
145 |
|
146 |
+
# Rename column headers for display only
|
147 |
+
display_names = {
|
148 |
+
"Discord": "Discord",
|
149 |
+
"Name": "Name",
|
150 |
+
"City": "City",
|
151 |
+
"Country": "Country",
|
152 |
+
"Looking for Team": "Looking for Team",
|
153 |
+
"Onlinecheck": "How?",
|
154 |
+
"Languages": "Languages",
|
155 |
+
"Laptop": "Laptop",
|
156 |
+
"Robot": "Robot",
|
157 |
+
"Skills": "Skills",
|
158 |
+
"Describe3": "Description",
|
159 |
+
"Experience": "Experience",
|
160 |
+
"Project Idea": "Project Idea"
|
161 |
+
}
|
162 |
+
|
163 |
html = '<h3 style="margin-top:20px;">π Find your matching Teammates & Register your team <a href="https://forms.gle/gJEMGD4CEA2emhD18" target="_blank">here</a>ππ</h3>'
|
164 |
html += "<table style='width:100%; border-collapse: collapse;'>"
|
165 |
|