KwabsHug commited on
Commit
97d5756
1 Parent(s): c26759f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -212,21 +212,21 @@ def TTSforListeningPractice(text):
212
  with gr.Blocks() as lliface:
213
  with gr.Tab("Welcome "):
214
  gr.HTML("""<h1> Spaces Test - Still Undercontruction </h1> <p> You only learn when you convert things you dont know to known --> Normally Repetition is the only reliable method for everybody </p>
215
- <p> Knowledge is a Language </p> <p>LingQ is good option for per word state management</p> <p> Arrows app json creator for easy knowledge graphing and spacy POS graph? </p>
216
  <p> Vocab = Glossary + all non text wall(lists, diagrams, etc.)</p>
217
  <p>https://huggingface.co/spaces/vumichien/whisper-speaker-diarization<br></p>""")
218
  gr.Interface(fn=unique_word_count, inputs="text", outputs="text", title="Wordcounter")
219
  gr.Interface(fn=SepHypandSynExpansion, inputs="text", outputs=["text", "text"], title="Word suggestions")
220
  gr.Interface(fn=WikiSearch, inputs="text", outputs="text", title="Unique word suggestions(wiki articles)")
221
  with gr.Tab("Spelling and Chunks"):
222
- gr.HTML("Spelling is the end goal, you already know many letter orders called words so you need leverage them to remember random sequences")
223
  with gr.Tab("Spelling Simplification - Use a dual language list"):
224
  gr.Interface(fn=create_dictionary, inputs="text", outputs="text", title="Sort Text by first two letters")
225
  with gr.Tab("Chunks"):
226
  gr.Interface(fn=FrontRevSentChunk, inputs=[ChunkModeDrop, "checkbox", "text", langdest], outputs="text")
227
  gr.Interface(fn=keep_nouns_verbs, inputs=["text"], outputs="text", title="Noun and Verbs only (Plus punctuation)")
228
  with gr.Tab("Timing Practice - Repitition"):
229
- gr.HTML("<p>Run from it, Dread it, Repitition is inevitable - Thanos</p>")
230
  gr.HTML("""<iframe height="1200" style="width: 100%;" scrolling="no" title="Memorisation Aid" src="https://codepen.io/kwabs22/embed/preview/GRXKQgj?default-tab=result&editable=true" frameborder="no" loading="lazy" allowtransparency="true" allowfullscreen="true">
231
  See the Pen <a href="https://codepen.io/kwabs22/pen/GRXKQgj">
232
  Memorisation Aid</a> by kwabs22 (<a href="https://codepen.io/kwabs22">@kwabs22</a>)
@@ -240,7 +240,7 @@ with gr.Blocks() as lliface:
240
  """)
241
  with gr.Tab("Beginner - Songs - Chorus"):
242
  gr.HTML("Essentially if the sounds are repeated or long notes they are easy to remember")
243
- gr.Interface(fn=TTSforListeningPractice, inputs="text", outputs="text", title="Placeholder - paste chorus here and use TTS")
244
  with gr.Tab("Transcribe - RASMUS Whisper"):
245
  gr.HTML("""<p>If this tab doesnt work use the link below ⬇️</p> <a href="https://huggingface.co/spaces/RASMUS/Whisper-youtube-crosslingual-subtitles">https://huggingface.co/spaces/RASMUS/Whisper-youtube-crosslingual-subtitles</a>""")
246
  gr.Interface.load("spaces/RASMUS/Whisper-youtube-crosslingual-subtitles", title="Subtitles")
 
212
  with gr.Blocks() as lliface:
213
  with gr.Tab("Welcome "):
214
  gr.HTML("""<h1> Spaces Test - Still Undercontruction </h1> <p> You only learn when you convert things you dont know to known --> Normally Repetition is the only reliable method for everybody </p>
215
+ <p> Knowledge is a Language but productive knowledge is find replace as well </p> <p>LingQ is good option for per word state management</p> <p> Arrows app json creator for easy knowledge graphing and spacy POS graph? </p>
216
  <p> Vocab = Glossary + all non text wall(lists, diagrams, etc.)</p>
217
  <p>https://huggingface.co/spaces/vumichien/whisper-speaker-diarization<br></p>""")
218
  gr.Interface(fn=unique_word_count, inputs="text", outputs="text", title="Wordcounter")
219
  gr.Interface(fn=SepHypandSynExpansion, inputs="text", outputs=["text", "text"], title="Word suggestions")
220
  gr.Interface(fn=WikiSearch, inputs="text", outputs="text", title="Unique word suggestions(wiki articles)")
221
  with gr.Tab("Spelling and Chunks"):
222
+ gr.HTML("<p> Spelling is the end goal, you already know many letter orders called words so you need leverage them to remember random sequences")
223
  with gr.Tab("Spelling Simplification - Use a dual language list"):
224
  gr.Interface(fn=create_dictionary, inputs="text", outputs="text", title="Sort Text by first two letters")
225
  with gr.Tab("Chunks"):
226
  gr.Interface(fn=FrontRevSentChunk, inputs=[ChunkModeDrop, "checkbox", "text", langdest], outputs="text")
227
  gr.Interface(fn=keep_nouns_verbs, inputs=["text"], outputs="text", title="Noun and Verbs only (Plus punctuation)")
228
  with gr.Tab("Timing Practice - Repitition"):
229
+ gr.HTML("<p>Run from it, Dread it, Repitition is inevitable - Thanos</p> <p>Next Milestone is Turning this interface handsfree</p>")
230
  gr.HTML("""<iframe height="1200" style="width: 100%;" scrolling="no" title="Memorisation Aid" src="https://codepen.io/kwabs22/embed/preview/GRXKQgj?default-tab=result&editable=true" frameborder="no" loading="lazy" allowtransparency="true" allowfullscreen="true">
231
  See the Pen <a href="https://codepen.io/kwabs22/pen/GRXKQgj">
232
  Memorisation Aid</a> by kwabs22 (<a href="https://codepen.io/kwabs22">@kwabs22</a>)
 
240
  """)
241
  with gr.Tab("Beginner - Songs - Chorus"):
242
  gr.HTML("Essentially if the sounds are repeated or long notes they are easy to remember")
243
+ gr.Interface(fn=TTSforListeningPractice, inputs="text", outputs="text", title="Placeholder - paste chorus here and use TTS or make notes to save here")
244
  with gr.Tab("Transcribe - RASMUS Whisper"):
245
  gr.HTML("""<p>If this tab doesnt work use the link below ⬇️</p> <a href="https://huggingface.co/spaces/RASMUS/Whisper-youtube-crosslingual-subtitles">https://huggingface.co/spaces/RASMUS/Whisper-youtube-crosslingual-subtitles</a>""")
246
  gr.Interface.load("spaces/RASMUS/Whisper-youtube-crosslingual-subtitles", title="Subtitles")