Update app.py
Browse files
app.py
CHANGED
|
@@ -163,7 +163,7 @@ COUNTER = """
|
|
| 163 |
</head>
|
| 164 |
<body>
|
| 165 |
<div class="countdown-container">
|
| 166 |
-
<h1 class="title">
|
| 167 |
<div class="countdown">
|
| 168 |
<div class="time-unit">
|
| 169 |
<div class="circle">
|
|
@@ -212,7 +212,7 @@ COUNTER = """
|
|
| 212 |
</div>
|
| 213 |
<script>
|
| 214 |
// Set target date to November 30, 2025, 11:59 PM UTC
|
| 215 |
-
const targetDate = new Date(Date.UTC(2025, 10,
|
| 216 |
|
| 217 |
function updateCountdown() {
|
| 218 |
const now = new Date();
|
|
@@ -520,7 +520,7 @@ with gr.Blocks(title="Gradio Agents & MCP Hackathon - Winter 2025", css=custom_c
|
|
| 520 |
- Access to latest and strongest LLMs
|
| 521 |
- Compute resources for building your projects
|
| 522 |
|
| 523 |
-
**The MCP revolution continues!** OpenAI, Microsoft, and
|
| 524 |
""")
|
| 525 |
gr.HTML(COUNTER)
|
| 526 |
gr.Markdown("---")
|
|
@@ -579,24 +579,22 @@ with gr.Blocks(title="Gradio Agents & MCP Hackathon - Winter 2025", css=custom_c
|
|
| 579 |
lines=3
|
| 580 |
)
|
| 581 |
|
| 582 |
-
# Acknowledgment Section
|
| 583 |
-
gr.Markdown("## 3. Acknowledgment")
|
| 584 |
-
|
| 585 |
-
acknowledgment = gr.Checkbox(
|
| 586 |
-
label="Acknowledgment *",
|
| 587 |
-
info="""I commit to actively participate and submit a project by November 30, 2025.<br>
|
| 588 |
-
I understand that API/compute credits are provided to support hackathon participation and should be used for building my hackathon project.<br>
|
| 589 |
-
I commit to using these credits responsibly during the event period.""",
|
| 590 |
-
)
|
| 591 |
-
|
| 592 |
# Additional Information Section
|
| 593 |
-
gr.Markdown("##
|
| 594 |
|
| 595 |
project_description = gr.Textbox(
|
| 596 |
label="What type of project are you most excited to build?",
|
| 597 |
placeholder="Brief description of your project idea or what interests you most",
|
| 598 |
lines=3
|
| 599 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 600 |
|
| 601 |
# Submit button
|
| 602 |
submit_btn = gr.Button("π Register for Hackathon", variant="primary", size="lg")
|
|
@@ -635,26 +633,8 @@ with gr.Blocks(title="Gradio Agents & MCP Hackathon - Winter 2025", css=custom_c
|
|
| 635 |
)
|
| 636 |
|
| 637 |
# Footer
|
| 638 |
-
gr.Markdown("""
|
| 639 |
-
|
| 640 |
-
## π― What to Expect
|
| 641 |
-
|
| 642 |
-
**Before the Hackathon:**
|
| 643 |
-
- Sponsor announcements rolling out weekly
|
| 644 |
-
- Educational content and tutorials
|
| 645 |
-
- API credits distribution details
|
| 646 |
-
|
| 647 |
-
**During the Hackathon (Nov 14-30):**
|
| 648 |
-
- Office hours with Gradio team and sponsors
|
| 649 |
-
- Discord community support
|
| 650 |
-
- Resources and documentation
|
| 651 |
-
|
| 652 |
-
**After the Hackathon:**
|
| 653 |
-
- Judging period (Dec 1-14)
|
| 654 |
-
- Winners announcement (Dec 15)
|
| 655 |
-
- Showcase of winning projects
|
| 656 |
-
|
| 657 |
-
**Questions?** Join our [Discord](https://discord.gg/DVzRsYXy) or email: [email protected]
|
| 658 |
""")
|
| 659 |
|
| 660 |
if __name__ == "__main__":
|
|
|
|
| 163 |
</head>
|
| 164 |
<body>
|
| 165 |
<div class="countdown-container">
|
| 166 |
+
<h1 class="title">The Global Event Begins Soon. Registrations are now open!</h1>
|
| 167 |
<div class="countdown">
|
| 168 |
<div class="time-unit">
|
| 169 |
<div class="circle">
|
|
|
|
| 212 |
</div>
|
| 213 |
<script>
|
| 214 |
// Set target date to November 30, 2025, 11:59 PM UTC
|
| 215 |
+
const targetDate = new Date(Date.UTC(2025, 10, 13, 23, 59, 59)); // Month is 0-indexed (10 = November)
|
| 216 |
|
| 217 |
function updateCountdown() {
|
| 218 |
const now = new Date();
|
|
|
|
| 520 |
- Access to latest and strongest LLMs
|
| 521 |
- Compute resources for building your projects
|
| 522 |
|
| 523 |
+
**The Agents & MCP revolution continues!** OpenAI, Microsoft, Google DeepMind, and numerous startups have already adopted MCP. Join the community that launched the MCP developer movement. Participate and stand a chance to learn the latest AI technologies and win BIG!
|
| 524 |
""")
|
| 525 |
gr.HTML(COUNTER)
|
| 526 |
gr.Markdown("---")
|
|
|
|
| 579 |
lines=3
|
| 580 |
)
|
| 581 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 582 |
# Additional Information Section
|
| 583 |
+
gr.Markdown("## 3. Additional Information")
|
| 584 |
|
| 585 |
project_description = gr.Textbox(
|
| 586 |
label="What type of project are you most excited to build?",
|
| 587 |
placeholder="Brief description of your project idea or what interests you most",
|
| 588 |
lines=3
|
| 589 |
)
|
| 590 |
+
|
| 591 |
+
# Acknowledgment Section
|
| 592 |
+
gr.Markdown("## 4. Acknowledgment")
|
| 593 |
+
|
| 594 |
+
acknowledgment = gr.Checkbox(
|
| 595 |
+
label="Acknowledgment *",
|
| 596 |
+
info="""I commit to actively participate and submit a project by November 30, 2025. I understand that API/compute credits are provided to support hackathon participation and should be used for building my hackathon project. I commit to using these credits responsibly during the event period.""",
|
| 597 |
+
)
|
| 598 |
|
| 599 |
# Submit button
|
| 600 |
submit_btn = gr.Button("π Register for Hackathon", variant="primary", size="lg")
|
|
|
|
| 633 |
)
|
| 634 |
|
| 635 |
# Footer
|
| 636 |
+
gr.Markdown("""
|
| 637 |
+
**Questions?** Join Huggingface [Discord](https://discord.gg/DVzRsYXy) or email: [email protected]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 638 |
""")
|
| 639 |
|
| 640 |
if __name__ == "__main__":
|