ysharma HF Staff commited on
Commit
5de25f1
Β·
verified Β·
1 Parent(s): b4f925b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -38
app.py CHANGED
@@ -89,24 +89,6 @@ def verify_registration(email, hf_username):
89
  - **Email:** {registration['email']}
90
  - **Hugging Face Username:** {registration['hf_username']}
91
  - **Registered On:** {reg_date}
92
-
93
- **Hackathon Participation:**
94
- - **Track Interest:** {track_interest}
95
- - **Gradio Usage:** {registration['gradio_usage']}
96
- - **Previous Participation:** {registration['previous_participation']}
97
- - **Experience Level:** {registration['experience_level']}
98
- - **How You Heard:** {registration['how_heard']}
99
-
100
- **Project Idea:**
101
- {registration['project_description'] if registration['project_description'] else '_No project description provided_'}
102
-
103
- ---
104
-
105
- **Next Steps:**
106
- - πŸ”‘ API and Compute credits will be distributed before or during the hackathon
107
- - πŸ’¬ Join our Discord community channel `mcp-1st-birthday-officialπŸ†`: https://discord.gg/92sEPT2Zhv
108
- - πŸ“§ Watch your email for important updates
109
- - πŸš€ Start planning your project!
110
  """
111
 
112
  logger.info(f"βœ… Verification successful for {email}")
@@ -156,9 +138,7 @@ with gr.Blocks(title="MCP Birthday Party - Registration Verification", css=custo
156
  gr.Markdown("""
157
  # πŸ” MCP's 1st Birthday - Registration Verification
158
 
159
- **Verify your registration for the Gradio Agents & MCP Hackathon**
160
-
161
- **πŸ“… Event Dates:** November 14-30, 2025 | **πŸ† Prizes: $17,000+ USD**
162
 
163
  Enter your email address and Hugging Face username to verify your registration and view your details.
164
  """)
@@ -188,13 +168,7 @@ with gr.Blocks(title="MCP Birthday Party - Registration Verification", css=custo
188
  - Make sure you enter the **exact** email and username you used during registration
189
  - Both fields are **case-insensitive** but must match your registration
190
  - Both email AND username must match for security purposes
191
- - If you can't find your registration, try registering at the main hackathon page
192
-
193
- ### Need Help?
194
-
195
- - **Discord:** https://discord.gg/92sEPT2Zhv (channel: `mcp-1st-birthday-officialπŸ†`)
196
- - **Email:** [email protected]
197
- - **Register:** [Main Registration Page](https://huggingface.co/spaces/ysharma/gradio-mcp-1st-birthday-hackathon-winter-2025)
198
  """)
199
 
200
  verify_output = gr.Markdown()
@@ -208,17 +182,10 @@ with gr.Blocks(title="MCP Birthday Party - Registration Verification", css=custo
208
 
209
  # Footer
210
  gr.Markdown("""
211
- ---
212
-
213
- **🎯 About the Hackathon:**
214
-
215
- Join the definitive Agents & MCP event! OpenAI, Microsoft, Google DeepMind, and numerous startups have already adopted MCP.
216
- Participate and stand a chance to learn the latest AI technologies and Win BIG!
217
-
218
  **πŸ”— Quick Links:**
219
- - [Main Registration Page](https://huggingface.co/spaces/ysharma/gradio-mcp-1st-birthday-hackathon-winter-2025)
220
- - [Discord Community](https://discord.gg/92sEPT2Zhv)
221
- - [Hackathon Details & Rules](https://huggingface.co/mcphack)
222
  """)
223
 
224
  if __name__ == "__main__":
 
89
  - **Email:** {registration['email']}
90
  - **Hugging Face Username:** {registration['hf_username']}
91
  - **Registered On:** {reg_date}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  """
93
 
94
  logger.info(f"βœ… Verification successful for {email}")
 
138
  gr.Markdown("""
139
  # πŸ” MCP's 1st Birthday - Registration Verification
140
 
141
+ **πŸ“… Event Dates:** November 14-30, 2025
 
 
142
 
143
  Enter your email address and Hugging Face username to verify your registration and view your details.
144
  """)
 
168
  - Make sure you enter the **exact** email and username you used during registration
169
  - Both fields are **case-insensitive** but must match your registration
170
  - Both email AND username must match for security purposes
171
+ - If you can't find your registration, try registering at the [main registration page](https://huggingface.co/spaces/MCP-1st-Birthday/gradio-hackathon-registration-winter25)
 
 
 
 
 
 
172
  """)
173
 
174
  verify_output = gr.Markdown()
 
182
 
183
  # Footer
184
  gr.Markdown("""
185
+ ---
 
 
 
 
 
 
186
  **πŸ”— Quick Links:**
187
+
188
+ [Discord Community](https://discord.gg/92sEPT2Zhv) | [Hackathon Details & Rules](https://huggingface.co/MCP-1st-Birthday)
 
189
  """)
190
 
191
  if __name__ == "__main__":