Spaces:
Runtime error
Runtime error
Commit
·
d3a7867
1
Parent(s):
f0bfb58
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ from transformers import (
|
|
18 |
|
19 |
#Coqui V1 api render voice, you can also use XTTS
|
20 |
#COQUI_URL="https://app.coqui.ai/api/v2/samples"
|
21 |
-
COQUI_URL="https://app.coqui.ai/api/v2/samples/
|
22 |
COQUI_URL_EN="https://app.coqui.ai/api/v2/samples/xtts/render/"
|
23 |
### Warning each sample will consume your credits
|
24 |
COQUI_TOKEN=os.environ.get("COQUI_TOKEN")
|
@@ -44,8 +44,8 @@ Additional hint, try French, Italian, German, Spanish initial texts."
|
|
44 |
#stopping_criteria = StoppingCriteriaList([MaxLengthCriteria(max_length=64)])
|
45 |
|
46 |
from huggingface_hub import hf_hub_download
|
47 |
-
hf_hub_download(repo_id="gorkemgoknar/llama2-7f-moviechatbot-ggml-q4", local_dir=".", filename="llama2-7f-fp16-
|
48 |
-
model_path="./llama2-7f-fp16-
|
49 |
|
50 |
import langid
|
51 |
|
|
|
18 |
|
19 |
#Coqui V1 api render voice, you can also use XTTS
|
20 |
#COQUI_URL="https://app.coqui.ai/api/v2/samples"
|
21 |
+
COQUI_URL="https://app.coqui.ai/api/v2/samples/xtts"
|
22 |
COQUI_URL_EN="https://app.coqui.ai/api/v2/samples/xtts/render/"
|
23 |
### Warning each sample will consume your credits
|
24 |
COQUI_TOKEN=os.environ.get("COQUI_TOKEN")
|
|
|
44 |
#stopping_criteria = StoppingCriteriaList([MaxLengthCriteria(max_length=64)])
|
45 |
|
46 |
from huggingface_hub import hf_hub_download
|
47 |
+
hf_hub_download(repo_id="gorkemgoknar/llama2-7f-moviechatbot-ggml-q4", local_dir=".", filename="llama2-7f-fp16-gguf-q4.bin")
|
48 |
+
model_path="./llama2-7f-fp16-gguf-q4.bin"
|
49 |
|
50 |
import langid
|
51 |
|