Jack
commited on
Commit
·
97bfe69
1
Parent(s):
2c8e4b5
added various files
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ async def on_chat_start():
|
|
39 |
if cl.user_session.get("transcription_counter") is None:
|
40 |
cl.user_session.set("transcription_counter", 0)
|
41 |
|
42 |
-
#
|
43 |
welcome_message = """
|
44 |
## Welcome to the **ATC Transcription Assistant**
|
45 |
|
@@ -51,6 +51,24 @@ This tool transcribes **Air Traffic Control (ATC)** audio using OpenAI’s **Whi
|
|
51 |
|
52 |
---
|
53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
To get started, upload the audio below.
|
55 |
"""
|
56 |
await cl.Message(content=welcome_message).send()
|
|
|
39 |
if cl.user_session.get("transcription_counter") is None:
|
40 |
cl.user_session.set("transcription_counter", 0)
|
41 |
|
42 |
+
# Full welcome message
|
43 |
welcome_message = """
|
44 |
## Welcome to the **ATC Transcription Assistant**
|
45 |
|
|
|
51 |
|
52 |
---
|
53 |
|
54 |
+
### Performance
|
55 |
+
|
56 |
+
- **Fine-tuned Whisper medium.en WER**: 15.08%
|
57 |
+
- **Non fine-tuned Whisper medium.en WER**: 94.59%
|
58 |
+
- **Relative improvement**: 84.06%
|
59 |
+
|
60 |
+
While the fine-tuned model performs much better, **we cannot guarantee the accuracy of the transcriptions**. For more details on the fine-tuning process, see the [blog post](https://jacktol.net/posts/fine-tuning_whisper_on_atc_data), or check out the [project repository](https://github.com/jack-tol/fine-tuning-whisper-on-atc-data). Feel free to contact me at [[email protected]](mailto:[email protected]).
|
61 |
+
|
62 |
+
---
|
63 |
+
|
64 |
+
### How to Use
|
65 |
+
|
66 |
+
1. **Upload an ATC audio file**: Upload an audio file in **MP3** or **WAV** format containing ATC communications.
|
67 |
+
2. **View the transcription**: The tool will transcribe the audio and display the text on the screen.
|
68 |
+
3. **Transcribe another audio**: Click **New Chat** in the top-right to start a new transcription.
|
69 |
+
|
70 |
+
---
|
71 |
+
|
72 |
To get started, upload the audio below.
|
73 |
"""
|
74 |
await cl.Message(content=welcome_message).send()
|