Update app.py
Browse files
app.py
CHANGED
|
@@ -82,11 +82,6 @@ fluency_choices = [
|
|
| 82 |
"2 - Good (Some hesitation or uneven pace)",
|
| 83 |
"3 - Excellent (Speaks smoothly, natural pace, few pauses or fillers)",
|
| 84 |
]
|
| 85 |
-
slide_design_choices = [
|
| 86 |
-
"1 - Needs Work (Hard to read, messy or too much text)",
|
| 87 |
-
"2 - Good (Basic but readable, some visuals)",
|
| 88 |
-
"3 - Excellent (Clear, well-organized, visual support, not too much text)",
|
| 89 |
-
]
|
| 90 |
|
| 91 |
with gr.Blocks(gr.themes.Origin()) as demo:
|
| 92 |
with gr.Row():
|
|
@@ -100,7 +95,7 @@ with gr.Blocks(gr.themes.Origin()) as demo:
|
|
| 100 |
with gr.Group():
|
| 101 |
voice = gr.Radio(voice_choices, label="Voice", value=voice_choices[1])
|
| 102 |
with gr.Group():
|
| 103 |
-
pronunciation = gr.Radio(pronunciation_choices, label="Pronunciation
|
| 104 |
with gr.Column():
|
| 105 |
with gr.Group():
|
| 106 |
bodyLanguage = gr.Radio(body_language_choices, label="Body Language", value=body_language_choices[1])
|
|
@@ -108,8 +103,6 @@ with gr.Blocks(gr.themes.Origin()) as demo:
|
|
| 108 |
facialEyeContact = gr.Radio(facial_eye_contact_choices, label="Facial Expression + Eye Contact", value=facial_eye_contact_choices[1])
|
| 109 |
with gr.Group():
|
| 110 |
fluency = gr.Radio(fluency_choices, label="Fluency", value=fluency_choices[1])
|
| 111 |
-
with gr.Group():
|
| 112 |
-
slideDesign = gr.Radio(slide_design_choices, label="Slide Design (Only for HBS)")
|
| 113 |
with gr.Row():
|
| 114 |
gen_btn = gr.Button("Generate comment")
|
| 115 |
output = gr.Textbox(label="Teacher’s Comment", lines=5)
|
|
|
|
| 82 |
"2 - Good (Some hesitation or uneven pace)",
|
| 83 |
"3 - Excellent (Speaks smoothly, natural pace, few pauses or fillers)",
|
| 84 |
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
|
| 86 |
with gr.Blocks(gr.themes.Origin()) as demo:
|
| 87 |
with gr.Row():
|
|
|
|
| 95 |
with gr.Group():
|
| 96 |
voice = gr.Radio(voice_choices, label="Voice", value=voice_choices[1])
|
| 97 |
with gr.Group():
|
| 98 |
+
pronunciation = gr.Radio(pronunciation_choices, label="Pronunciation")
|
| 99 |
with gr.Column():
|
| 100 |
with gr.Group():
|
| 101 |
bodyLanguage = gr.Radio(body_language_choices, label="Body Language", value=body_language_choices[1])
|
|
|
|
| 103 |
facialEyeContact = gr.Radio(facial_eye_contact_choices, label="Facial Expression + Eye Contact", value=facial_eye_contact_choices[1])
|
| 104 |
with gr.Group():
|
| 105 |
fluency = gr.Radio(fluency_choices, label="Fluency", value=fluency_choices[1])
|
|
|
|
|
|
|
| 106 |
with gr.Row():
|
| 107 |
gen_btn = gr.Button("Generate comment")
|
| 108 |
output = gr.Textbox(label="Teacher’s Comment", lines=5)
|