KwabsHug commited on
Commit
554aad0
1 Parent(s): 1806cc7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -240,7 +240,10 @@ 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("Advanced - LingQ Addons ideas"):
245
  gr.HTML("Extra functions needed - Persitent Sentence translation, UNWFWO, POS tagging and Word Count per user of words in their account. Macaronic Text is also another way to practice only the important information")
246
  with gr.Row():
@@ -250,12 +253,9 @@ with gr.Blocks() as lliface:
250
  MacaronicFile = gr.File(label="Paste Macaronic Text")
251
  with gr.Row():
252
  MergeButton = gr.Button()
253
- MergeButton.click(merge_lines, inputs=["RomanFile", "W4WFile", "FullMeanFile", "MacaronicFile"], outputs=["MergeOutput"])
254
  with gr.Row():
255
  MergeOutput = gr.TextArea(label="Output")
256
- with gr.Tab("Transcribe - RASMUS Whisper"):
257
- 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>""")
258
- gr.Interface.load("spaces/RASMUS/Whisper-youtube-crosslingual-subtitles", title="Subtitles")
259
  with gr.Tab("Dictionary from text"):
260
  gr.Interface(fn=create_dictionary, inputs="text", outputs="text", title="Two Letter Dictionary")
261
 
 
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")
247
  with gr.Tab("Advanced - LingQ Addons ideas"):
248
  gr.HTML("Extra functions needed - Persitent Sentence translation, UNWFWO, POS tagging and Word Count per user of words in their account. Macaronic Text is also another way to practice only the important information")
249
  with gr.Row():
 
253
  MacaronicFile = gr.File(label="Paste Macaronic Text")
254
  with gr.Row():
255
  MergeButton = gr.Button()
256
+ MergeButton.click(merge_lines, inputs=[RomanFile, W4WFile, FullMeanFile, MacaronicFile], outputs=[MergeOutput])
257
  with gr.Row():
258
  MergeOutput = gr.TextArea(label="Output")
 
 
 
259
  with gr.Tab("Dictionary from text"):
260
  gr.Interface(fn=create_dictionary, inputs="text", outputs="text", title="Two Letter Dictionary")
261