Streamlit неправильно отображает уценкуPython

Программы на Python
Anonymous
Streamlit неправильно отображает уценку

Сообщение Anonymous »

Я пытаюсь визуализировать уценку с помощью метода .markdown для следующей уценки:
**Stellar Bank** requested a finance vertical campaign focused on **in‑view rate** with a budget of **$80,000**. We evaluated **50** benchmark products, of which **10** matched the finance vertical. One product was excluded for exceeding the budget, leaving **9** eligible products. After vertical and budget filtering, only **Vortex AR** was selected because it optimizes the in‑view rate, fits within the total budget (minimum $75,000) and was the highest‑ranked product. The selected budget is **$75,000**, leaving **$5,000** unspent. The other finance products (Aurora Story, Echo Shoppable, Lumen Expandable, Orbit Carousel, Nebula Banner, Zenith Interstitial, Pulse Playable, Nimbus Native) were not selected because higher‑ranked selections consumed the available budget

И он генерирует следующий вывод:
Изображение

Ниже приведен мой код:
with tab_ai_summary:
if summary_info['error']:
tab_ai_summary.error("Could not generate AI summary")
st.stop()

sanitized_summary = summary_info['data']
tab_ai_summary.markdown(sanitized_summary)

Вернуться в «Python»