You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- if the pip install fails try `pip install -r explicit_requirements.txt --no-cache`
121
+
- if that fails, [report the issue to the maintainer or your point of contact](https://github.com/Noah-Jaffe/Transcriber/issues)
122
+
- The only requirements not in the txt files are `torch``torchaudio` and `torchvision`
123
+
1. Install requirements not in requirements.txt
124
+
125
+
- If you have a CUDA compatible GPU:
126
+
-[Install CUDA](https://docs.nvidia.com/cuda/cuda-quick-start-guide/) if you have not done so already.
127
+
- You may need to `pip uninstall torch torchaudio torchvision` before doing this next step.
128
+
-[Reinstall `torch``torchaudio` and `torchvision` with your appropriate build](https://pytorch.org/get-started/locally/)
129
+
- Example for if you have a CUDA compatible device for 12.6 you would run: `pip install torch torchvision torchaudio --no-cache -U --index-url https://download.pytorch.org/whl/cu126`
130
+
- Otherwise if you dont have a CUDA compatible GPU or dont know what that means then run the next line:
131
+
-`pip install torch torchaudio torchvision`
132
+
1. Put your [Huggingface token](https://huggingface.co/docs/hub/en/security-tokens) in a file named `.hftoken`.
133
+
-`.hftoken` only, `.hftoken.txt` will not work
134
+

135
+
- Generating the token:
136
+
- You may need to create an account, you can skip all the optional steps except for verifying your email.
137
+
- You can name the token anything, just save the token to a file called `.hftoken` to your machine.
138
+
- The token does not need any special permissions, you can deselect all of the options.
139
+
140
+
1. If you want to make a one click startup script, you could do so now.
141
+
- Example for windows:
142
+
Save anywhere as "`Transcribe.ps1`"
143
+
```sh
144
+
cd~/Documents/Transcriber
145
+
# if you used a virtual environment uncomment the next line (remove the #)
146
+
#./venv/Scripts/activate
147
+
python main.py
148
+
```
149
+
- Example for Mac/Linux
150
+
Save anywhere as "`Transcribe.sh`"
151
+
```
152
+
#!/bin/bash
153
+
cd~/Documents/Transcriber
154
+
# if you used a virtual environment uncomment the next line (remove the #)
155
+
# source .venv/bin/activate
156
+
python main.py
157
+
```
158
+
_You may need to run `chmod +x Transcriber.sh` on the new .sh file to give it permissions to execute_
159
+
- _NOTE: You might need to do some additional research for how to do this properly for your machine._
160
+
1. Continue to the [using the transcriber](#using-the-transcriber) step.
- if the pip install fails try `pip install -r explicit_requirements.txt --no-cache`
127
-
- if that fails, [report the issue to the maintainer or your point of contact](https://github.com/Noah-Jaffe/Transcriber/issues)
128
-
- The only requirements not in the txt files are `torch``torchaudio` and `torchvision`
129
-
1. If you have a CUDA compatible GPU:
130
-
-[Install CUDA](https://docs.nvidia.com/cuda/cuda-quick-start-guide/) if you have not done so already.
131
-
- You may need to `pip uninstall torch torchaudio torchvision` before doing this next step.
132
-
-[Reinstall `torch``torchaudio` and `torchvision` with your appropriate build](https://pytorch.org/get-started/locally/)
133
-
- Example for if you have a CUDA compatible device for 12.6 you would run: `pip install torch torchvision torchaudio --no-cache -U --index-url https://download.pytorch.org/whl/cu126`
134
-
1. Otherwise if you dont have a CUDA compatible GPU or dont know what that means then run the next line:
135
-
-`pip install torch torchaudio torchvision`
136
-
1. Put your [Huggingface token](https://huggingface.co/docs/hub/en/security-tokens) in a file named `.hftoken`. (Note that when you generate the token, you can name it anything and it does not need any special permissions, you can deselect all of the options.)
137
-
1. If you want to make a one click startup script, you could do so now.
138
-
- Example for windows:
139
-
Save anywhere as "`Transcribe.ps1`"
140
-
```sh
141
-
cd~/Documents/Transcriber
142
-
# if you used a virtual environment uncomment the next line (remove the #)
143
-
#./venv/Scripts/activate
144
-
python main.py
145
-
```
146
-
- Example for Mac/Linux
147
-
Save anywhere as "`Transcribe.sh`"
148
-
```
149
-
#!/bin/bash
150
-
cd~/Documents/Transcriber
151
-
# if you used a virtual environment uncomment the next line (remove the #)
152
-
# source .venv/bin/activate
153
-
python main.py
154
-
```
155
-
_You may need to run `chmod +x Transcriber.sh` on the new .sh file to give it permissions to execute_
156
-
1. Continue with [using the Transcriber](#using-the-transcriber)
157
-
158
-
# Using the transcriber
163
+
164
+
## Using the transcriber
159
165
1. Start the application
160
166
- If using a virtual environment start/activate that now. [See here](#start-activate-venv)
161
167
- Run the program with
@@ -173,7 +179,9 @@ _If you already have the requirement read through the step to make sure you have
173
179
174
180
175
181
# Frequently asked questions:
182
+
176
183
### Help, I got a `TypeError: ... not supported between instances of 'NoneType' and 'float'`!
184
+
177
185
If you run into the following errors specifically in the Whisper (Step 1), know that this is an error of the AI and not entirely in our control.
178
186
>`TypeError: '<=' not supported between instances of 'NoneType' and 'float'`
179
187
@@ -184,6 +192,7 @@ The only known current workaround is to split up the original file into smaller
184
192
_v1.1.0_ is in the works with an automated fix for this
185
193
186
194
### How to update my Transcriber app?
195
+
187
196
If you followed the instructions on this readme file, or installed this repo with git:
188
197
1. Enter the Transcriber directory in the terminal
189
198
`cd Transcriber` or `cd ~/Documents/Transcriber`
@@ -195,13 +204,15 @@ If you followed the instructions on this readme file, or installed this repo wit
195
204
- [Optional] Check the readme, changelog, or release notes to see if there is anything else you need to change.
196
205
197
206
### Help, some error occured that is not covered elsewhere!
207
+
198
208
- Send as much relevant info to the maintainer such as:
199
209
- [ ] the terminal logs
200
210
- [ ] screenshots of what is wrong
201
211
- [ ] explinations for what was expected to happen
202
212
- [ ] .cha file (you can remove sensitive information from the transcripts, but leave the @debug lines)
203
213
204
214
### How do I get rid of these ugly @debug lines in my .cha file?
215
+
205
216
Edit your [transcribe_proc.py](transcribe_proc.py) file to update that the line that is
206
217
`DEBUG_MODE = True`
207
218
to
@@ -211,7 +222,19 @@ to
211
222
212
223
See function`transcribe_file`in [transcribe_proc.py](transcribe_proc.py). Note that you can ignore the chunks that reference or are dependant on DEBUG.
213
224
225
+
### Yall got some Morphosyntax?
226
+
In function`transcribe_file`in [transcribe_proc.py](transcribe_proc.py):
227
+
Uncomment the line inside the `pipeline_activity` variable array:
228
+
```
229
+
# morphosyntax,
230
+
```
231
+
so that it looks like
232
+
```
233
+
morphosyntax,
234
+
```
235
+
214
236
---
237
+
215
238
### Backlog ideas:
216
239
- [ ] Advanced/Runtime configuration of AI parameters?
0 commit comments