Update written_module.py
Browse files- written_module.py +2 -2
written_module.py
CHANGED
|
@@ -66,12 +66,12 @@ def written_dashboard(nickname):
|
|
| 66 |
</div>
|
| 67 |
""")
|
| 68 |
|
| 69 |
-
with gr.Row():
|
| 70 |
language_dropdown = gr.Dropdown(label="π Language", choices=list(LANG_CODES.keys()), value="English")
|
| 71 |
goal_dropdown = gr.Dropdown(label="π― Writing Goal", choices=["Essay for school", "Job application", "Blog post", "Creative writing", "General improvement"], value="General improvement")
|
| 72 |
focus_checkboxes = gr.CheckboxGroup(label="π§ Focus Areas", choices=["Clarity", "Organization", "Grammar", "Vocabulary", "Tone", "Creativity"], value=["Clarity", "Organization", "Grammar", "Vocabulary", "Tone", "Creativity"])
|
| 73 |
|
| 74 |
-
with gr.Row():
|
| 75 |
input_text = gr.Textbox(label="π Your Writing", lines=8, elem_id="input_text", elem_classes=["text_area"])
|
| 76 |
file_input = gr.File(label="π Upload Text File", file_types=[".txt", ".md"])
|
| 77 |
|
|
|
|
| 66 |
</div>
|
| 67 |
""")
|
| 68 |
|
| 69 |
+
with gr.Row(elem_classes=["top-control-row"]):
|
| 70 |
language_dropdown = gr.Dropdown(label="π Language", choices=list(LANG_CODES.keys()), value="English")
|
| 71 |
goal_dropdown = gr.Dropdown(label="π― Writing Goal", choices=["Essay for school", "Job application", "Blog post", "Creative writing", "General improvement"], value="General improvement")
|
| 72 |
focus_checkboxes = gr.CheckboxGroup(label="π§ Focus Areas", choices=["Clarity", "Organization", "Grammar", "Vocabulary", "Tone", "Creativity"], value=["Clarity", "Organization", "Grammar", "Vocabulary", "Tone", "Creativity"])
|
| 73 |
|
| 74 |
+
with gr.Row(elem_classes=["audio-row"]):
|
| 75 |
input_text = gr.Textbox(label="π Your Writing", lines=8, elem_id="input_text", elem_classes=["text_area"])
|
| 76 |
file_input = gr.File(label="π Upload Text File", file_types=[".txt", ".md"])
|
| 77 |
|