ciaochris commited on
Commit
0d5d2d1
·
verified ·
1 Parent(s): c1325fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -0
app.py CHANGED
@@ -115,6 +115,17 @@ def create_interface() -> gr.Blocks:
115
  7. Feel free to ask follow-up questions or explore new topics!
116
 
117
  Remember: This is an AI-powered educational tool. Always verify important information with authoritative sources.
 
 
 
 
 
 
 
 
 
 
 
118
  """)
119
 
120
  def process_input(subject, difficulty, text_input, audio_input):
 
115
  7. Feel free to ask follow-up questions or explore new topics!
116
 
117
  Remember: This is an AI-powered educational tool. Always verify important information with authoritative sources.
118
+
119
+ ### How to Record Your Voice
120
+ 1. Look for the microphone icon in the "Or speak your question" section.
121
+ 2. Click on the microphone icon to start recording.
122
+ 3. Speak clearly and at a normal pace into your device's microphone.
123
+ 4. Click the stop button (square icon) when you're done speaking.
124
+ 5. You can play back your recording using the play button to check if it's clear.
125
+ 6. If you're satisfied with the recording, click 'Generate Lesson' to process your spoken question.
126
+ 7. If you're not happy with the recording, you can click the microphone icon again to start over.
127
+
128
+ Note: Make sure your browser has permission to access your microphone. If you encounter any issues, try using a different browser or check your device's audio settings.
129
  """)
130
 
131
  def process_input(subject, difficulty, text_input, audio_input):