shiue20 commited on
Commit
e24ef9a
·
verified ·
1 Parent(s): c363444

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +3 -7
templates/index.html CHANGED
@@ -123,11 +123,7 @@
123
  <div class="section">
124
  <h3>📉 最近7日股價趨勢圖 / 7-Day Price Trend</h3>
125
  <div>
126
- {% if result.plot_html %}
127
- {{ result.plot_html | safe }}
128
- {% else %}
129
- <p style="color: #a00;">📊 無法取得股價趨勢圖,請稍後再試或確認股票代號是否正確。</p>
130
- {% endif %}
131
  </div>
132
  </div>
133
 
@@ -178,7 +174,7 @@
178
  <div class="section">
179
  <h3>🤖 ChatGPT 技術分析與投資建議 GPT Analysis & Suggestions (中英文)</h3>
180
  <div class="analysis-box">
181
- {{ result.gpt_analysis | safe }}
182
  </div>
183
  </div>
184
  {% endif %}
@@ -191,4 +187,4 @@
191
  });
192
  </script>
193
  </body>
194
- </html>
 
123
  <div class="section">
124
  <h3>📉 最近7日股價趨勢圖 / 7-Day Price Trend</h3>
125
  <div>
126
+ {{ result.plot_html | safe }}
 
 
 
 
127
  </div>
128
  </div>
129
 
 
174
  <div class="section">
175
  <h3>🤖 ChatGPT 技術分析與投資建議 GPT Analysis & Suggestions (中英文)</h3>
176
  <div class="analysis-box">
177
+ {{ result.gpt_analysis | default('❌ 無法取得 GPT 回應') | safe }}
178
  </div>
179
  </div>
180
  {% endif %}
 
187
  });
188
  </script>
189
  </body>
190
+ </html>