openfree commited on
Commit
7515124
·
verified ·
1 Parent(s): 015bd6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -16
app.py CHANGED
@@ -669,25 +669,18 @@ def create_demo():
669
  ✨ GPU Accelerated
670
  </span>
671
  </div>
 
 
 
 
 
672
  </div>
673
  """
674
  )
675
-
676
- gpu_status = gr.Markdown(
677
- f'''
678
- <div style="
679
- text-align: center;
680
- padding: 10px;
681
- background: {'linear-gradient(135deg, rgba(129, 236, 236, 0.2), rgba(116, 185, 255, 0.2))' if SPACES_AVAILABLE else 'linear-gradient(135deg, rgba(253, 121, 168, 0.2), rgba(253, 203, 110, 0.2))'};
682
- border-radius: 10px;
683
- margin: 10px 0;
684
- ">
685
- <span style="font-size: 1.1em; color: {'#00b894' if SPACES_AVAILABLE else '#e17055'};">
686
- {'🎯 GPU Accelerated' if SPACES_AVAILABLE else '💻 CPU Mode'}
687
- </span>
688
- </div>
689
- '''
690
- )
691
 
692
  with gr.Tabs():
693
  # Tab 1: Sequence Generation
 
669
  ✨ GPU Accelerated
670
  </span>
671
  </div>
672
+ <div style="margin-top: 20px;">
673
+ <a href="https://discord.gg/openfreeai" target="_blank">
674
+ <img src="https://img.shields.io/static/v1?label=Discord&message=Openfree%20AI&color=%230000ff&labelColor=%23800080&logo=discord&logoColor=white&style=for-the-badge" alt="Discord">
675
+ </a>
676
+ </div>
677
  </div>
678
  """
679
  )
680
+
681
+
682
+
683
+
 
 
 
 
 
 
 
 
 
 
 
 
684
 
685
  with gr.Tabs():
686
  # Tab 1: Sequence Generation