Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -294,10 +294,10 @@ def get_progress_summary():
|
|
| 294 |
|
| 295 |
# === Gradio Interface ===
|
| 296 |
with gr.Blocks() as demo:
|
| 297 |
-
gr.Markdown("#
|
| 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 π"):
|