Dannyar608 commited on
Commit
29859bc
Β·
verified Β·
1 Parent(s): ff89cdb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -50,16 +50,16 @@ learning_style_questions = [
50
  ]
51
 
52
  learning_style_answers = [
53
- ["Watch a demonstration", "Listen to instructions", "Read about it"],
54
- ["Watch TV or play games", "Listen to music or talk", "Read books or write"],
55
- ["Seeing the word", "Hearing the word", "Writing the word"],
56
- ["See the characters in your mind", "Hear the words in your mind", "Focus on the meaning of the words"],
57
- ["Prefer diagrams or charts", "Prefer to discuss ideas", "Prefer to write detailed explanations"],
58
- ["Enjoy the sound and rhythm", "Remember lyrics easily", "Analyze the meaning"],
59
- ["Visualize the problem", "Talk it through", "Write out steps"],
60
- ["Use maps or draw it", "Give verbal directions", "Write down directions"],
61
- ["Create mental pictures", "Repeat things aloud", "Take notes or read quietly"],
62
- ["Facial features", "Voice or name", "Spelling or written form"]
63
  ]
64
 
65
  style_count_map = {
@@ -208,7 +208,7 @@ with gr.Blocks() as demo:
208
  blog_checkbox = gr.Checkbox(label="πŸ“ I'd like to write a mini blog about myself")
209
  blog_text = gr.Textbox(lines=5, label="✍️ Mini Blog", visible=True)
210
 
211
- submit = gr.Button("πŸ“₯ Save My Profile")
212
  output = gr.Textbox(label="Status")
213
 
214
  submit.click(fn=save_profile,
 
50
  ]
51
 
52
  learning_style_answers = [
53
+ ["Watch someone do it", "Listen to someone explain it", "Read about it"],
54
+ ["Watch TV or play video games", "Listen to music or talk to people", "Read books or write stories"],
55
+ ["Seeing the word in your mind", "Saying the word out loud", "Writing the word down"],
56
+ ["See the action in your mind", "Hear the characters talk", "Focus on the written words"],
57
+ ["Use diagrams or doodles", "Talk about ideas", "Write detailed notes"],
58
+ ["Appreciate the rhythm and melodies", "Easily remember lyrics", "Analyze the lyrics"],
59
+ ["Visualize the solution", "Discuss the problem", "Write out the steps"],
60
+ ["Draw a map", "Give spoken directions", "Write directions"],
61
+ ["Picture things", "Say things out loud", "Write or read quietly"],
62
+ ["Remember faces", "Remember names or voices", "Remember what you wrote about them"]
63
  ]
64
 
65
  style_count_map = {
 
208
  blog_checkbox = gr.Checkbox(label="πŸ“ I'd like to write a mini blog about myself")
209
  blog_text = gr.Textbox(lines=5, label="✍️ Mini Blog", visible=True)
210
 
211
+ submit = gr.Button("πŸ“… Save My Profile")
212
  output = gr.Textbox(label="Status")
213
 
214
  submit.click(fn=save_profile,