fudii0921 commited on
Commit
041b528
·
verified ·
1 Parent(s): 275b3f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -543,8 +543,8 @@ def generate_review(prompt, scores, userid):
543
  chart_path = generate_chart(scores, userid)
544
  #print("chart_path",chart_path)
545
  print("chart_path",chart_path)
546
- #current_chart_path = chart_path
547
- current_chart_path = 'https://www.ryhintl.com/images/curchart.png'
548
 
549
  global template
550
  template = '''
@@ -1041,7 +1041,7 @@ def generate_review(prompt, scores, userid):
1041
  <h2>3. パフォーマンスKPIサマリー</h2>
1042
  <p style="text-align: center; color: #666; margin-bottom: 20px;">評価者による6つの主要スキル項目の10段階評価</p>
1043
  <div class="chart-container">
1044
- <img src="'''+current_chart_path+'''" alt="レーダーチャート" width="500" height="500" />
1045
  </div>
1046
  </section>
1047
 
 
543
  chart_path = generate_chart(scores, userid)
544
  #print("chart_path",chart_path)
545
  print("chart_path",chart_path)
546
+ current_chart_path = chart_path
547
+ #current_chart_path = 'https://www.ryhintl.com/images/curchart.png'
548
 
549
  global template
550
  template = '''
 
1041
  <h2>3. パフォーマンスKPIサマリー</h2>
1042
  <p style="text-align: center; color: #666; margin-bottom: 20px;">評価者による6つの主要スキル項目の10段階評価</p>
1043
  <div class="chart-container">
1044
+ <img src="'''+"https://www.ryhintl.com/images/curchart.png"+'''" alt="レーダーチャート" width="500" height="500" />
1045
  </div>
1046
  </section>
1047