lalaru commited on
Commit
0adaddb
Β·
verified Β·
1 Parent(s): c43a6ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -294,10 +294,10 @@ def get_progress_summary():
294
 
295
  # === Gradio Interface ===
296
  with gr.Blocks() as demo:
297
- gr.Markdown("# 🌐 GrammerBot")
298
  gr.Markdown("Your sentences, corrected. Your writing, perfected.")
299
 
300
- with gr.Tab("Practice"):
301
  with gr.Row():
302
  text_input = gr.Textbox(label="Type in English", placeholder="Write something...",lines=1)
303
  mic_input = gr.Audio(sources=["microphone"], type="filepath")
@@ -315,7 +315,7 @@ with gr.Blocks() as demo:
315
 
316
  with gr.Tab("History πŸ“œ"):
317
  history_box = gr.Textbox(label="Past Attempts", interactive=False, lines=15)
318
- refresh_btn = gr.Button("Refresh History")
319
  refresh_btn.click(get_history, outputs=history_box)
320
 
321
  # with gr.Tab("Progress πŸ“ˆ"):
 
294
 
295
  # === Gradio Interface ===
296
  with gr.Blocks() as demo:
297
+ gr.Markdown("# πŸ€–βœπŸ» GrammerBot")
298
  gr.Markdown("Your sentences, corrected. Your writing, perfected.")
299
 
300
+ with gr.Tab("Practice πŸ“"):
301
  with gr.Row():
302
  text_input = gr.Textbox(label="Type in English", placeholder="Write something...",lines=1)
303
  mic_input = gr.Audio(sources=["microphone"], type="filepath")
 
315
 
316
  with gr.Tab("History πŸ“œ"):
317
  history_box = gr.Textbox(label="Past Attempts", interactive=False, lines=15)
318
+ refresh_btn = gr.Button("⏳ Refresh History")
319
  refresh_btn.click(get_history, outputs=history_box)
320
 
321
  # with gr.Tab("Progress πŸ“ˆ"):