Keetawan commited on
Commit
9cfbb4a
·
verified ·
1 Parent(s): 406e574

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -114,12 +114,12 @@ with gr.Blocks() as demo:
114
  fn=bot, inputs=bot_inputs, outputs=[chatbot_component],
115
  )
116
 
117
- # Adding the detail about currently available stock data
118
- stock_detail = """
119
- <div style="text-align: center; display: flex; justify-content: center; align-items: center; margin-top: 20px;">
120
- <span>Currently, we have data for the following stocks: KBANK, SCB, TTB, AIS, TRUE, SANSIRI, ORIGIN.</span>
121
- </div>
122
- """
123
- demo.append(gr.HTML(stock_detail))
124
 
125
  demo.queue(max_size=99).launch(debug=False, show_error=True)
 
114
  fn=bot, inputs=bot_inputs, outputs=[chatbot_component],
115
  )
116
 
117
+ # Adding the detail about currently available stock data within the Blocks context
118
+ stock_detail = """
119
+ <div style="text-align: center; display: flex; justify-content: center; align-items: center; margin-top: 20px;">
120
+ <span>Currently, we have data for the following stocks: KBANK, SCB, TTB, AIS, TRUE, SANSIRI, ORIGIN.</span>
121
+ </div>
122
+ """
123
+ gr.HTML(stock_detail).render()
124
 
125
  demo.queue(max_size=99).launch(debug=False, show_error=True)