dlflannery commited on
Commit
4b29e03
·
verified ·
1 Parent(s): 84a11e1

Update app.py

Browse files

Updated help text

Files changed (1) hide show
  1. app.py +8 -4
app.py CHANGED
@@ -509,14 +509,18 @@ def list_permanent_files():
509
 
510
  def show_help():
511
  txt = '''
 
 
 
512
  1. Gemeral:
513
  1.1 Login with user name and password (not case-sensitive)
514
- 1.2 Type prompts (questions, instructions) into "Prompt or Question" window (OR) you can speak prompts by
515
  tapping the audio "Record" button, saying your prompt, then tapping the "Stop" button.
516
  Your prompt will appear in the Prompt window, and you can edit it there if needed.
517
  1.3 Text in the "Dialog" window can be spoken by tapping the "Speak Dialog" button.
518
- 2. Chat:
519
- 2.1 Enter prompt and tap the "Submit Prompt/Question" button. The responses appear in the Dialog window.
 
520
  2.2 Enter follow-up questions in the Prompt window either by typing or speaking. Tap the voice
521
  entry "Reset Voice Entry" button to enable additional voice entry. Then tap "Submit Prompt/Question".
522
  2.3 If topic changes or when done chatting, tap the "Restart Conversation" button.
@@ -655,7 +659,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
655
  return [fname, q]
656
 
657
 
658
- gr.Markdown('# MTOI Search')
659
  gr.Markdown('Enter user name & password. Tap "Help & Hints" button for more instructions.')
660
  timer = gr.Timer(value=2.0, active=True)
661
  with gr.Row():
 
509
 
510
  def show_help():
511
  txt = '''
512
+ MTOI Search scans a selected database of MTOI teachings for sections that relate to the question or topic
513
+ you enter. It formulates a response based on that text and then lists up to ten text clips and YouTube links
514
+ to the video where that clip is spoken.
515
  1. Gemeral:
516
  1.1 Login with user name and password (not case-sensitive)
517
+ 1.2 Type prompts (questions, topics) into "Prompt or Question" window (OR) you can speak prompts by
518
  tapping the audio "Record" button, saying your prompt, then tapping the "Stop" button.
519
  Your prompt will appear in the Prompt window, and you can edit it there if needed.
520
  1.3 Text in the "Dialog" window can be spoken by tapping the "Speak Dialog" button.
521
+ 1.4 You can limit dates when the results were uploaded to YouTube with the Start Date and End Date entries.
522
+ 2. Search:
523
+ 2.1 Enter prompt/question and tap the "Submit Prompt/Question" button. The responses appear in the Dialog window.
524
  2.2 Enter follow-up questions in the Prompt window either by typing or speaking. Tap the voice
525
  entry "Reset Voice Entry" button to enable additional voice entry. Then tap "Submit Prompt/Question".
526
  2.3 If topic changes or when done chatting, tap the "Restart Conversation" button.
 
659
  return [fname, q]
660
 
661
 
662
+ gr.Markdown('# MTOI Searchs')
663
  gr.Markdown('Enter user name & password. Tap "Help & Hints" button for more instructions.')
664
  timer = gr.Timer(value=2.0, active=True)
665
  with gr.Row():