Spaces:
Running
on
Zero
Running
on
Zero
Helw150
commited on
Commit
•
633dd54
1
Parent(s):
987fe56
Masc Code
Browse files- .gitattributes +1 -0
- app.py +3 -1
.gitattributes
CHANGED
@@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
utils/assets/silero_vad.onnx filter=lfs diff=lfs merge=lfs -text
|
|
|
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
utils/assets/silero_vad.onnx filter=lfs diff=lfs merge=lfs -text
|
37 |
+
orca_params_masculine.pv filter=lfs diff=lfs merge=lfs -text
|
app.py
CHANGED
@@ -16,7 +16,9 @@ from datasets import Audio
|
|
16 |
from transformers import AutoModel
|
17 |
from transformers.modeling_outputs import CausalLMOutputWithPast
|
18 |
|
19 |
-
orca = pvorca.create(
|
|
|
|
|
20 |
LOADER_STR = "♫♪.ılılıll|̲̅̅●̲̅̅|̲̅̅=̲̅̅|̲̅̅●̲̅̅|llılılı.♫♪loading♫♪.ılılıll|̲̅̅●̲̅̅|̲̅̅=̲̅̅|̲̅̅●̲̅̅|llılılı.♫♪loading♫♪.ılılıll|̲̅̅●̲̅̅|̲̅̅=̲̅̅|̲̅̅●̲̅̅|llılılı.♫♪♫"
|
21 |
if gr.NO_RELOAD:
|
22 |
diva_model = AutoModel.from_pretrained(
|
|
|
16 |
from transformers import AutoModel
|
17 |
from transformers.modeling_outputs import CausalLMOutputWithPast
|
18 |
|
19 |
+
orca = pvorca.create(
|
20 |
+
access_key=os.environ.get("ORCA_KEY"), model_path="./orca_params_masculine.pv"
|
21 |
+
)
|
22 |
LOADER_STR = "♫♪.ılılıll|̲̅̅●̲̅̅|̲̅̅=̲̅̅|̲̅̅●̲̅̅|llılılı.♫♪loading♫♪.ılılıll|̲̅̅●̲̅̅|̲̅̅=̲̅̅|̲̅̅●̲̅̅|llılılı.♫♪loading♫♪.ılılıll|̲̅̅●̲̅̅|̲̅̅=̲̅̅|̲̅̅●̲̅̅|llılılı.♫♪♫"
|
23 |
if gr.NO_RELOAD:
|
24 |
diva_model = AutoModel.from_pretrained(
|