Update README.md
Browse files
README.md
CHANGED
@@ -42,4 +42,14 @@ The model has been trained on multiple datasets to optimize its performance acro
|
|
42 |
### **💻 Install Dependencies**
|
43 |
```bash
|
44 |
pip install -r requirements.txt
|
|
|
|
|
45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
### **💻 Install Dependencies**
|
43 |
```bash
|
44 |
pip install -r requirements.txt
|
45 |
+
```
|
46 |
+
## Inference
|
47 |
|
48 |
+
```bash
|
49 |
+
from inference import transcribe
|
50 |
+
|
51 |
+
audio_path = "path/to/audio.wav" # Replace with your actual audio file
|
52 |
+
output = transcribe(audio_path, task="asr") # Options: "dialect", "asr", "translation"
|
53 |
+
|
54 |
+
print("Generated Text:", output)
|
55 |
+
```
|