ysharma HF Staff commited on
Commit
08d0d80
Β·
verified Β·
1 Parent(s): f8c02ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +73 -68
app.py CHANGED
@@ -520,81 +520,86 @@ 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 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("---")
527
 
528
- with gr.Column():
529
- # Personal Information Section
530
- gr.Markdown("## 1. Personal Information")
531
-
532
- full_name = gr.Textbox(
533
- label="Full Name *",
534
- placeholder="Your full name as you'd like it on certificates",
535
- max_lines=1
536
- )
537
-
538
- email = gr.Textbox(
539
- label="Email Address *",
540
- placeholder="Primary contact email (we'll send important updates here)",
541
- max_lines=1
542
- )
543
-
544
- github_username = gr.Textbox(
545
- label="GitHub Username",
546
- placeholder="Your GitHub username (helps us verify your developer status)",
547
- max_lines=1
548
- )
549
-
550
- hf_username = gr.Textbox(
551
- label="Hugging Face Username *",
552
- placeholder="Required for organization access and submissions",
553
- max_lines=1
554
- )
555
-
556
- # Hackathon Participation Section
557
- gr.Markdown("## 2. Hackathon Participation")
558
-
559
- track_interest = gr.CheckboxGroup(
560
- label="Which track interests you most? *",
561
- choices=[
562
- "Track 1: MCP Tools & Servers",
563
- "Track 2: Agentic Applications",
564
- "Track 3: AI-First Mobile Experiences",
565
- ]
566
- )
567
-
568
- participation_type = gr.Radio(
569
- label="Participation Type *",
570
- choices=[
571
- "Individual participant",
572
- "Joining as a team",
573
- ]
574
- )
575
-
576
- teammates = gr.Textbox(
577
- label="If you have a team, list your teammates' emails separated by commas",
578
- placeholder="List names and emails of your team members (optional)",
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")
 
520
  - Access to latest and strongest LLMs
521
  - Compute resources for building your projects
522
 
523
+ **The definitive Agents & MCP event is back!** 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 also Win BIG!
524
  """)
525
  gr.HTML(COUNTER)
526
  gr.Markdown("---")
527
 
528
+ with gr.Row():
529
+ with gr.Column():
530
+ # Personal Information Section
531
+ gr.Markdown("## 1. Personal Information")
532
+
533
+ full_name = gr.Textbox(
534
+ label="Full Name *",
535
+ placeholder="Your full name as you'd like it on certificates",
536
+ max_lines=1
537
+ )
538
+
539
+ email = gr.Textbox(
540
+ label="Email Address *",
541
+ placeholder="Primary contact email (we'll send important updates here)",
542
+ max_lines=1
543
+ )
544
+
545
+ github_username = gr.Textbox(
546
+ label="GitHub Username",
547
+ placeholder="Your GitHub username (helps us verify your developer status)",
548
+ max_lines=1
549
+ )
550
+
551
+ hf_username = gr.Textbox(
552
+ label="Hugging Face Username *",
553
+ placeholder="Required for organization access and submissions",
554
+ max_lines=1
555
+ )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
556
 
557
+ with gr.Column():
558
+ # Hackathon Participation Section
559
+ gr.Markdown("## 2. Hackathon Participation")
560
+
561
+ track_interest = gr.CheckboxGroup(
562
+ label="Which track interests you most? *",
563
+ choices=[
564
+ "Track 1: MCP Tools & Servers",
565
+ "Track 2: Agentic Applications",
566
+ "Track 3: AI-First Mobile Experiences",
567
+ ]
568
+ )
569
+
570
+ participation_type = gr.Radio(
571
+ label="Participation Type *",
572
+ choices=[
573
+ "Individual participant",
574
+ "Joining as a team",
575
+ ]
576
+ )
577
+
578
+ teammates = gr.Textbox(
579
+ label="If you have a team, list your teammates' emails separated by commas",
580
+ placeholder="List names and emails of your team members (optional)",
581
+ lines=3
582
+ )
583
 
584
+ with gr.Row():
585
+ with gr.Column():
586
+ # Additional Information Section
587
+ gr.Markdown("## 3. Additional Information")
588
+
589
+ project_description = gr.Textbox(
590
+ label="What type of project are you most excited to build?",
591
+ placeholder="Brief description of your project idea or what interests you most",
592
+ lines=3
593
+ )
594
 
595
+ with gr.Column():
596
+ # Acknowledgment Section
597
+ gr.Markdown("## 4. Acknowledgment")
598
+
599
+ acknowledgment = gr.Checkbox(
600
+ label="Acknowledgment *",
601
+ 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.""",
602
+ )
603
 
604
  # Submit button
605
  submit_btn = gr.Button("πŸš€ Register for Hackathon", variant="primary", size="lg")