dlflannery commited on
Commit
0a0c895
·
verified ·
1 Parent(s): 8101b33

Update app.py

Browse files

Polished up help text

Files changed (1) hide show
  1. app.py +10 -8
app.py CHANGED
@@ -521,24 +521,26 @@ def list_permanent_files():
521
 
522
  def show_help():
523
  txt = '''
524
- MTOI Search scans a selected database of MTOI teachings for sections that relate to the question or topic
525
- you enter. It formulates a response based on that text and then lists up to ten text clips and YouTube links
526
- to the video where that clip is spoken.
527
  1. Gemeral:
528
  1.1 Login with user name and password (not case-sensitive)
529
- 1.2 Type prompts (questions, topics) into "Prompt or Question" window (OR) you can speak prompts by
 
 
530
  tapping the audio "Record" button, saying your prompt, then tapping the "Stop" button.
531
  Your prompt will appear in the Prompt window, and you can edit it there if needed.
532
- 1.3 Text in the "Dialog" window can be spoken by tapping the "Speak Dialog" button.
533
- 1.4 You can limit dates when the results were uploaded to YouTube with the Start Date and End Date entries.
 
534
  2. Search:
535
  2.1 Enter prompt/question and tap the "Submit Prompt/Question" button. The responses appear in the Dialog window.
536
  2.2 Enter follow-up questions in the Prompt window either by typing or speaking. Tap the voice
537
  entry "Reset Voice Entry" button to enable additional voice entry. Then tap "Submit Prompt/Question".
538
  2.3 If topic changes or when done chatting, tap the "Restart Conversation" button.
539
  Hints:
540
- 1. Better chat results are obtained by including detailed descriptions and instructions
541
- in the prompt.
542
  2. Always tap "Restart Conversation" before changing chat topics.
543
  3. Audio input and output functions depend on the hardware capability of your device.
544
  4. "Speak Dialog" will voice whatever is currently in the Dialog window. You can repeat it and you
 
521
 
522
  def show_help():
523
  txt = '''
524
+ MTOI Search scans a database you select that contains transcripts of MTOI video teachings, finding sections that
525
+ relate to the question or topic you enter. It formulates a response based on that text and then lists up to ten
526
+ text clips and YouTube links to the video at the point when the text is spoken.
527
  1. Gemeral:
528
  1.1 Login with user name and password (not case-sensitive)
529
+ 1.2 Select a database (topic) using "Choose Database". You can target all the databases by
530
+ selecting "All data"
531
+ 1.3 Type prompts (questions, topics) into "Prompt or Question" window (OR) you can speak prompts by
532
  tapping the audio "Record" button, saying your prompt, then tapping the "Stop" button.
533
  Your prompt will appear in the Prompt window, and you can edit it there if needed.
534
+ 1.4 Text in the "Dialog" window can be spoken by tapping the "Speak Dialog" button.
535
+ 1.5 You can limit results based on the dates when the results were uploaded to YouTube with the
536
+ Start Date and End Date entries.
537
  2. Search:
538
  2.1 Enter prompt/question and tap the "Submit Prompt/Question" button. The responses appear in the Dialog window.
539
  2.2 Enter follow-up questions in the Prompt window either by typing or speaking. Tap the voice
540
  entry "Reset Voice Entry" button to enable additional voice entry. Then tap "Submit Prompt/Question".
541
  2.3 If topic changes or when done chatting, tap the "Restart Conversation" button.
542
  Hints:
543
+ 1. Better chat results are obtained by including more detail in prompts. Say what you want to know.
 
544
  2. Always tap "Restart Conversation" before changing chat topics.
545
  3. Audio input and output functions depend on the hardware capability of your device.
546
  4. "Speak Dialog" will voice whatever is currently in the Dialog window. You can repeat it and you