Spaces:
Build error
Build error
Persival123
commited on
Commit
•
a9ec8eb
1
Parent(s):
f7634d9
Upload app.py
Browse files
app.py
CHANGED
@@ -363,12 +363,11 @@ demo.encrypt = False
|
|
363 |
|
364 |
|
365 |
with demo:
|
366 |
-
with gr.Tab("
|
367 |
gr.Markdown('''
|
368 |
<div>
|
369 |
-
<h1 style='text-align: center'>
|
370 |
-
This
|
371 |
-
and ECAPA-TDNN model from <a href='https://github.com/speechbrain/speechbrain' target='_blank'><b>SpeechBrain</b></a> to encode and clasify speakers
|
372 |
</div>
|
373 |
''')
|
374 |
|
@@ -376,21 +375,10 @@ with demo:
|
|
376 |
gr.Markdown('''
|
377 |
### Transcribe youtube link using OpenAI Whisper
|
378 |
##### 1. Using Open AI's Whisper model to seperate audio into segments and generate transcripts.
|
379 |
-
##### 2.
|
380 |
-
##### 3.
|
381 |
''')
|
382 |
|
383 |
-
with gr.Row():
|
384 |
-
gr.Markdown('''
|
385 |
-
### You can test by following examples:
|
386 |
-
''')
|
387 |
-
examples = gr.Examples(examples=
|
388 |
-
[ "https://www.youtube.com/watch?v=j7BfEzAFuYc&t=32s",
|
389 |
-
"https://www.youtube.com/watch?v=-UX0X45sYe4",
|
390 |
-
"https://www.youtube.com/watch?v=7minSgqi-Gw"],
|
391 |
-
label="Examples", inputs=[youtube_url_in])
|
392 |
-
|
393 |
-
|
394 |
with gr.Row():
|
395 |
with gr.Column():
|
396 |
youtube_url_in.render()
|
|
|
363 |
|
364 |
|
365 |
with demo:
|
366 |
+
with gr.Tab("Consult AI"):
|
367 |
gr.Markdown('''
|
368 |
<div>
|
369 |
+
<h1 style='text-align: center'>Your very own AI Scribe</h1>
|
370 |
+
This model uses Open AI and a modified Whisper model to produce A SOAP note using only your patient conversations! So give it a try!
|
|
|
371 |
</div>
|
372 |
''')
|
373 |
|
|
|
375 |
gr.Markdown('''
|
376 |
### Transcribe youtube link using OpenAI Whisper
|
377 |
##### 1. Using Open AI's Whisper model to seperate audio into segments and generate transcripts.
|
378 |
+
##### 2. Using Open AI to analyse the transcript in terms of your chosen profession.
|
379 |
+
##### 3. Finally ooutputting your generated SOAP note specilized for your profession and for the patient in just 5 minutes!( Give or take)
|
380 |
''')
|
381 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
382 |
with gr.Row():
|
383 |
with gr.Column():
|
384 |
youtube_url_in.render()
|