DeL-TaiseiOzaki commited on
Commit
a539d0e
·
verified ·
1 Parent(s): 0fa2d7e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +50 -35
app.py CHANGED
@@ -1,7 +1,6 @@
1
  import streamlit as st
2
  import os
3
  import base64
4
- import plotly.graph_objects as go
5
  from PIL import Image
6
  import io
7
  from datetime import datetime
@@ -43,7 +42,6 @@ content = {
43
  'view_details': '詳細を見る',
44
  'send': '送信',
45
  'message_sent': 'メッセージを送信しました!',
46
- 'skill_visualization': '📊 スキルレベル',
47
  'github_activity': '💻 GitHub 活動状況',
48
  'name': 'お名前',
49
  'email': 'メールアドレス',
@@ -67,7 +65,6 @@ content = {
67
  'view_details': 'View Details',
68
  'send': 'Send',
69
  'message_sent': 'Message sent successfully!',
70
- 'skill_visualization': '📊 Skill Levels',
71
  'github_activity': '💻 GitHub Activity',
72
  'name': 'Name',
73
  'email': 'Email',
@@ -653,38 +650,56 @@ def main():
653
  </div>
654
  """, unsafe_allow_html=True)
655
 
656
- # スキルビジュアライゼーション
657
- st.markdown(f'<h2>{content[lang]["skill_visualization"]}</h2>', unsafe_allow_html=True)
658
-
659
- # レーダーチャート
660
- skills = ['Python', 'Deep Learning', 'NLP', 'C++', 'Research'] if lang == 'en' else ['Python', 'Deep Learning', 'NLP', 'C++', '研究力']
661
- values = [95, 90, 92, 75, 88]
662
-
663
- fig = go.Figure(data=go.Scatterpolar(
664
- r=values,
665
- theta=skills,
666
- fill='toself',
667
- line_color='#D4AF37',
668
- fillcolor='rgba(212, 175, 55, 0.2)'
669
- ))
670
- fig.update_layout(
671
- polar=dict(
672
- radialaxis=dict(
673
- visible=True,
674
- range=[0, 100],
675
- gridcolor='rgba(212, 175, 55, 0.1)'
676
- ),
677
- angularaxis=dict(
678
- gridcolor='rgba(212, 175, 55, 0.1)'
679
- )
680
- ),
681
- showlegend=False,
682
- paper_bgcolor='rgba(0,0,0,0)',
683
- plot_bgcolor='rgba(0,0,0,0)',
684
- font=dict(color='#F5F5F5'),
685
- height=300
686
- )
687
- st.plotly_chart(fig, use_container_width=True)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
688
 
689
  # GitHub統計
690
  st.markdown(f'<h2>{content[lang]["github_activity"]}</h2>', unsafe_allow_html=True)
 
1
  import streamlit as st
2
  import os
3
  import base64
 
4
  from PIL import Image
5
  import io
6
  from datetime import datetime
 
42
  'view_details': '詳細を見る',
43
  'send': '送信',
44
  'message_sent': 'メッセージを送信しました!',
 
45
  'github_activity': '💻 GitHub 活動状況',
46
  'name': 'お名前',
47
  'email': 'メールアドレス',
 
65
  'view_details': 'View Details',
66
  'send': 'Send',
67
  'message_sent': 'Message sent successfully!',
 
68
  'github_activity': '💻 GitHub Activity',
69
  'name': 'Name',
70
  'email': 'Email',
 
650
  </div>
651
  """, unsafe_allow_html=True)
652
 
653
+ # スキルセクション
654
+ st.markdown(f'<h2>{content[lang]["tech_stack"]}</h2>', unsafe_allow_html=True)
655
+ if lang == 'ja':
656
+ st.markdown("""
657
+ <div class="glow-card">
658
+ <div style="margin-bottom: 1rem;">
659
+ <strong style="color: var(--primary);">AI/ML</strong><br>
660
+ <span class="skill-tag">LLM</span>
661
+ <span class="skill-tag">NLP</span>
662
+ <span class="skill-tag">Deep Learning</span>
663
+ <span class="skill-tag">世界モデル</span>
664
+ </div>
665
+ <div style="margin-bottom: 1rem;">
666
+ <strong style="color: var(--primary);">Programming</strong><br>
667
+ <span class="skill-tag">Python</span>
668
+ <span class="skill-tag">C++</span>
669
+ <span class="skill-tag">PyTorch</span>
670
+ </div>
671
+ <div>
672
+ <strong style="color: var(--primary);">Research</strong><br>
673
+ <span class="skill-tag">自動運転</span>
674
+ <span class="skill-tag">AIエージェント</span>
675
+ <span class="skill-tag">議論的対話</span>
676
+ </div>
677
+ </div>
678
+ """, unsafe_allow_html=True)
679
+ else:
680
+ st.markdown("""
681
+ <div class="glow-card">
682
+ <div style="margin-bottom: 1rem;">
683
+ <strong style="color: var(--primary);">AI/ML</strong><br>
684
+ <span class="skill-tag">LLM</span>
685
+ <span class="skill-tag">NLP</span>
686
+ <span class="skill-tag">Deep Learning</span>
687
+ <span class="skill-tag">World Models</span>
688
+ </div>
689
+ <div style="margin-bottom: 1rem;">
690
+ <strong style="color: var(--primary);">Programming</strong><br>
691
+ <span class="skill-tag">Python</span>
692
+ <span class="skill-tag">C++</span>
693
+ <span class="skill-tag">PyTorch</span>
694
+ </div>
695
+ <div>
696
+ <strong style="color: var(--primary);">Research</strong><br>
697
+ <span class="skill-tag">Autonomous Driving</span>
698
+ <span class="skill-tag">AI Agents</span>
699
+ <span class="skill-tag">Argumentative Dialogue</span>
700
+ </div>
701
+ </div>
702
+ """, unsafe_allow_html=True)
703
 
704
  # GitHub統計
705
  st.markdown(f'<h2>{content[lang]["github_activity"]}</h2>', unsafe_allow_html=True)