ankban commited on
Commit
48dc3a3
Β·
verified Β·
1 Parent(s): 5af6f15

Update written_module.py

Browse files
Files changed (1) hide show
  1. 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