ManB2207540 commited on
Commit
159439d
·
1 Parent(s): 9b3b23d

decor for the demo

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -214,7 +214,7 @@ def analyze_context(context, num_questions):
214
  )
215
 
216
  with gr.Blocks() as demo:
217
- gr.Markdown("## Hệ thống sinh câu hỏi")
218
 
219
  with gr.Row():
220
  with gr.Column(scale=4):
@@ -227,7 +227,7 @@ with gr.Blocks() as demo:
227
  value="t5-small-finetuned"
228
  )
229
  num_input = gr.Slider(label="Số câu hỏi", minimum=1, maximum=20, value=3, step=1, visible=False)
230
- generate_btn = gr.Button("Sinh câu hỏi", visible=False)
231
 
232
  # Thông báo đang xử lý hoặc không tìm thấy
233
  status_message = gr.Markdown(visible=False)
 
214
  )
215
 
216
  with gr.Blocks() as demo:
217
+ gr.Markdown("##📘 Hệ thống sinh câu hỏi")
218
 
219
  with gr.Row():
220
  with gr.Column(scale=4):
 
227
  value="t5-small-finetuned"
228
  )
229
  num_input = gr.Slider(label="Số câu hỏi", minimum=1, maximum=20, value=3, step=1, visible=False)
230
+ generate_btn = gr.Button("🚀 Sinh câu hỏi", visible=False)
231
 
232
  # Thông báo đang xử lý hoặc không tìm thấy
233
  status_message = gr.Markdown(visible=False)