Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -197,7 +197,7 @@ def create_dictionary(word_list, word_dict = {}):
|
|
197 |
|
198 |
with gr.Blocks() as lliface:
|
199 |
with gr.Tab("Welcome "):
|
200 |
-
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> <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> <p>
|
201 |
gr.Interface(fn=unique_word_count, inputs="text", outputs="text", title="Wordcounter")
|
202 |
gr.Interface(fn=SepHypandSynExpansion, inputs="text", outputs=["text", "text"], title="Word suggestions")
|
203 |
gr.Interface(fn=WikiSearch, inputs="text", outputs="text", title="Unique word suggestions(wiki articles)")
|
@@ -208,10 +208,11 @@ with gr.Blocks() as lliface:
|
|
208 |
gr.TextArea(label="Paste Word 4 Word")
|
209 |
gr.TextArea(label="Paste Full Meaning")
|
210 |
gr.TextArea(label="Paste Macaronic Text")
|
|
|
211 |
gr.Button()
|
212 |
-
gr.TextArea(label="Output")
|
213 |
with gr.Row():
|
214 |
-
gr.
|
|
|
215 |
with gr.Tab("Transcribe - RASMUS Whisper"):
|
216 |
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>""")
|
217 |
gr.Interface.load("spaces/RASMUS/Whisper-youtube-crosslingual-subtitles", title="Subtitles")
|
|
|
197 |
|
198 |
with gr.Blocks() as lliface:
|
199 |
with gr.Tab("Welcome "):
|
200 |
+
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> <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> <p>https://huggingface.co/spaces/vumichien/whisper-speaker-diarization<br></p>")
|
201 |
gr.Interface(fn=unique_word_count, inputs="text", outputs="text", title="Wordcounter")
|
202 |
gr.Interface(fn=SepHypandSynExpansion, inputs="text", outputs=["text", "text"], title="Word suggestions")
|
203 |
gr.Interface(fn=WikiSearch, inputs="text", outputs="text", title="Unique word suggestions(wiki articles)")
|
|
|
208 |
gr.TextArea(label="Paste Word 4 Word")
|
209 |
gr.TextArea(label="Paste Full Meaning")
|
210 |
gr.TextArea(label="Paste Macaronic Text")
|
211 |
+
with gr.Row():
|
212 |
gr.Button()
|
|
|
213 |
with gr.Row():
|
214 |
+
gr.TextArea(label="Output")
|
215 |
+
gr.Interface(fn=create_dictionary, inputs="text", outputs="text", title="Placeholder for transcript editor functions")
|
216 |
with gr.Tab("Transcribe - RASMUS Whisper"):
|
217 |
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>""")
|
218 |
gr.Interface.load("spaces/RASMUS/Whisper-youtube-crosslingual-subtitles", title="Subtitles")
|