Spaces:
Sleeping
Sleeping
skriller18
commited on
Commit
β’
c370778
1
Parent(s):
ae68901
Made it private
Browse files
app.py
CHANGED
@@ -5,6 +5,10 @@ import requests
|
|
5 |
import streamlit.components.v1 as components
|
6 |
import asyncio
|
7 |
import io
|
|
|
|
|
|
|
|
|
8 |
|
9 |
model_id = '11mlabs/indri-0.1-124m-tts'
|
10 |
task = 'indri-tts'
|
@@ -12,7 +16,7 @@ task = 'indri-tts'
|
|
12 |
st.title("Indri")
|
13 |
st.subheader("Ultrafast multi-modal AI")
|
14 |
|
15 |
-
baseUrl =
|
16 |
|
17 |
speakers = {
|
18 |
"[spkr_63]" : "π¬π§ π¨ book reader",
|
|
|
5 |
import streamlit.components.v1 as components
|
6 |
import asyncio
|
7 |
import io
|
8 |
+
import os
|
9 |
+
from dotenv import load_dotenv
|
10 |
+
|
11 |
+
load_dotenv()
|
12 |
|
13 |
model_id = '11mlabs/indri-0.1-124m-tts'
|
14 |
task = 'indri-tts'
|
|
|
16 |
st.title("Indri")
|
17 |
st.subheader("Ultrafast multi-modal AI")
|
18 |
|
19 |
+
baseUrl = os.getenv("BASE_URL")
|
20 |
|
21 |
speakers = {
|
22 |
"[spkr_63]" : "π¬π§ π¨ book reader",
|