SmokeyBandit commited on
Commit
b2c6b2e
·
verified ·
1 Parent(s): 5a1d87a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +153 -16
app.py CHANGED
@@ -304,7 +304,7 @@ def display_personal_note():
304
  personal_note = """
305
  ### A Personal Note to Dad
306
  Dad, you've always believed in me. I've faced hardship as a part-time teacher with almost nothing,
307
- but I've poured my heart into building innovative AI solutions. This GPU upgrade isn't just a hardware upgrade;
308
  it's the key to unlocking my full potential.
309
 
310
  With your support, I can:
@@ -320,7 +320,7 @@ def display_personal_note():
320
  # End of Helper Functions
321
  # =============================================================================
322
  # -----------------------------------------------------------------------------
323
- # Below is the construction of the Gradio interface with multiple tabs.
324
  # -----------------------------------------------------------------------------
325
 
326
  with gr.Blocks(theme=gr.themes.Soft(), css="""
@@ -350,15 +350,6 @@ with gr.Blocks(theme=gr.themes.Soft(), css="""
350
  </div>
351
  """)
352
 
353
- # -----------------------------------------------------------------------------
354
- # Persistent Ko-fi Donation Banner (appears across all tabs)
355
- # -----------------------------------------------------------------------------
356
- ko_fi_banner = gr.HTML("""
357
- <div style="position: fixed; bottom: 0; width: 100%; background: #2563EB; color: white; text-align: center; padding: 10px; font-size: 16px; z-index: 9999;">
358
- Support my journey on <a href="https://ko-fi.com/waynesletcher" target="_blank" style="color: white; text-decoration: underline;">Ko-fi</a> and help me thrive!
359
- </div>
360
- """)
361
-
362
  # -----------------------------------------------------------------------------
363
  # Tabs Section: Each Tab represents a part of the pitch deck.
364
  # -----------------------------------------------------------------------------
@@ -374,7 +365,8 @@ with gr.Blocks(theme=gr.themes.Soft(), css="""
374
  all while teaching myself to code and build AI projects. I built a full AI system on just 2GB VRAM,
375
  but I know I can do so much more with the right hardware.
376
 
377
- With a GPU upgrade, I can run my own inhouse AI system 24/7, create websites, automate marketing, and launch new SaaS products.
 
378
  """)
379
  gr.Plot(value=create_performance_comparison())
380
  gr.Markdown("""
@@ -486,7 +478,8 @@ with gr.Blocks(theme=gr.themes.Soft(), css="""
486
  gr.Markdown(display_tech_stack())
487
  gr.Markdown("""
488
  **Revenue Model:**
489
- The upgraded GPU will transform free tools into a full-scale inhouse AI system that drives subscription revenue, enterprise contracts, and project-based income.
 
490
  """)
491
 
492
  # -------------------------------------------------------------------------
@@ -507,11 +500,17 @@ with gr.Blocks(theme=gr.themes.Soft(), css="""
507
  - **Growth Phase:** Scale operations and revenue.
508
  """)
509
 
510
- # Render the persistent Ko‑fi donation banner across all tabs
511
- ko_fi_banner.render()
 
 
 
 
 
 
512
 
513
  # =============================================================================
514
- # Additional Documentation & Inline Comments (for clarity and future updates)
515
  # =============================================================================
516
  # This file represents a comprehensive pitch deck application for Sletchy Systems.
517
  # Developed by Wayne Sletcher, a part-time teacher and self-taught coder, this app
@@ -544,6 +543,144 @@ with gr.Blocks(theme=gr.themes.Soft(), css="""
544
  #
545
  #
546
  #
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
547
  # =============================================================================
548
  # End of File
549
  # =============================================================================
 
304
  personal_note = """
305
  ### A Personal Note to Dad
306
  Dad, you've always believed in me. I've faced hardship as a part-time teacher with almost nothing,
307
+ yet I've poured my heart into building innovative AI solutions. This GPU upgrade isn't just about better hardware;
308
  it's the key to unlocking my full potential.
309
 
310
  With your support, I can:
 
320
  # End of Helper Functions
321
  # =============================================================================
322
  # -----------------------------------------------------------------------------
323
+ # Construct the Gradio Interface with Multiple Tabs
324
  # -----------------------------------------------------------------------------
325
 
326
  with gr.Blocks(theme=gr.themes.Soft(), css="""
 
350
  </div>
351
  """)
352
 
 
 
 
 
 
 
 
 
 
353
  # -----------------------------------------------------------------------------
354
  # Tabs Section: Each Tab represents a part of the pitch deck.
355
  # -----------------------------------------------------------------------------
 
365
  all while teaching myself to code and build AI projects. I built a full AI system on just 2GB VRAM,
366
  but I know I can do so much more with the right hardware.
367
 
368
+ With a GPU upgrade, I can run my own inhouse AI system 24/7, create websites, automate marketing,
369
+ and launch new SaaS products.
370
  """)
371
  gr.Plot(value=create_performance_comparison())
372
  gr.Markdown("""
 
478
  gr.Markdown(display_tech_stack())
479
  gr.Markdown("""
480
  **Revenue Model:**
481
+ The upgraded GPU will transform free tools into a full-scale inhouse AI system that drives subscription revenue,
482
+ enterprise contracts, and project-based income.
483
  """)
484
 
485
  # -------------------------------------------------------------------------
 
500
  - **Growth Phase:** Scale operations and revenue.
501
  """)
502
 
503
+ # -----------------------------------------------------------------------------
504
+ # Persistent Ko‑fi Donation Banner
505
+ # -----------------------------------------------------------------------------
506
+ gr.HTML("""
507
+ <div style="position: fixed; bottom: 0; width: 100%; background: #2563EB; color: white; text-align: center; padding: 10px; font-size: 16px; z-index: 9999;">
508
+ Support my journey on <a href="https://ko-fi.com/waynesletcher" target="_blank" style="color: white; text-decoration: underline;">Ko-fi</a> and help me thrive!
509
+ </div>
510
+ """)
511
 
512
  # =============================================================================
513
+ # Additional Documentation & Inline Comments for Future Updates
514
  # =============================================================================
515
  # This file represents a comprehensive pitch deck application for Sletchy Systems.
516
  # Developed by Wayne Sletcher, a part-time teacher and self-taught coder, this app
 
543
  #
544
  #
545
  #
546
+ #
547
+ #
548
+ #
549
+ #
550
+ #
551
+ #
552
+ #
553
+ #
554
+ #
555
+ #
556
+ #
557
+ #
558
+ #
559
+ #
560
+ #
561
+ #
562
+ #
563
+ #
564
+ #
565
+ #
566
+ #
567
+ #
568
+ #
569
+ #
570
+ #
571
+ #
572
+ #
573
+ #
574
+ #
575
+ #
576
+ #
577
+ #
578
+ #
579
+ #
580
+ #
581
+ #
582
+ #
583
+ #
584
+ #
585
+ #
586
+ #
587
+ #
588
+ #
589
+ #
590
+ #
591
+ #
592
+ #
593
+ #
594
+ #
595
+ #
596
+ #
597
+ #
598
+ #
599
+ #
600
+ #
601
+ #
602
+ #
603
+ #
604
+ #
605
+ #
606
+ #
607
+ #
608
+ #
609
+ #
610
+ #
611
+ #
612
+ #
613
+ #
614
+ #
615
+ #
616
+ #
617
+ #
618
+ #
619
+ #
620
+ #
621
+ #
622
+ #
623
+ #
624
+ #
625
+ #
626
+ #
627
+ #
628
+ #
629
+ #
630
+ #
631
+ #
632
+ #
633
+ #
634
+ #
635
+ #
636
+ #
637
+ #
638
+ #
639
+ #
640
+ #
641
+ #
642
+ #
643
+ #
644
+ #
645
+ #
646
+ #
647
+ #
648
+ #
649
+ #
650
+ #
651
+ #
652
+ #
653
+ #
654
+ #
655
+ #
656
+ #
657
+ #
658
+ #
659
+ #
660
+ #
661
+ #
662
+ #
663
+ #
664
+ #
665
+ #
666
+ #
667
+ #
668
+ #
669
+ #
670
+ #
671
+ #
672
+ #
673
+ #
674
+ #
675
+ #
676
+ #
677
+ #
678
+ #
679
+ #
680
+ #
681
+ #
682
+ #
683
+ #
684
  # =============================================================================
685
  # End of File
686
  # =============================================================================