acumplid
commited on
Commit
•
4b92689
1
Parent(s):
78e7ff4
Included theme
Browse files- infer_onnx.py +3 -1
- requirements.txt +2 -1
infer_onnx.py
CHANGED
@@ -13,6 +13,8 @@ import os
|
|
13 |
from time import perf_counter
|
14 |
import random
|
15 |
|
|
|
|
|
16 |
DEFAULT_SPEAKER_ID = os.environ.get("DEFAULT_SPEAKER_ID", default="quim")
|
17 |
DEFAULT_ACCENT= os.environ.get("DEFAULT_ACCENT", default="balear")
|
18 |
|
@@ -261,7 +263,7 @@ matcha_inference = gr.Interface(
|
|
261 |
|
262 |
about_article = gr.Markdown(about)
|
263 |
|
264 |
-
demo = gr.Blocks()
|
265 |
|
266 |
with demo:
|
267 |
gr.Markdown(title)
|
|
|
13 |
from time import perf_counter
|
14 |
import random
|
15 |
|
16 |
+
from AinaTheme import theme
|
17 |
+
|
18 |
DEFAULT_SPEAKER_ID = os.environ.get("DEFAULT_SPEAKER_ID", default="quim")
|
19 |
DEFAULT_ACCENT= os.environ.get("DEFAULT_ACCENT", default="balear")
|
20 |
|
|
|
263 |
|
264 |
about_article = gr.Markdown(about)
|
265 |
|
266 |
+
demo = gr.Blocks(theme=theme, css="./styles.css")
|
267 |
|
268 |
with demo:
|
269 |
gr.Markdown(title)
|
requirements.txt
CHANGED
@@ -4,4 +4,5 @@ torch
|
|
4 |
unidecode
|
5 |
gradio
|
6 |
soundfile
|
7 |
-
huggingface_hub[cli]
|
|
|
|
4 |
unidecode
|
5 |
gradio
|
6 |
soundfile
|
7 |
+
huggingface_hub[cli]
|
8 |
+
aina-gradio-theme==2.3
|