brestok commited on
Commit
a4d8250
1 Parent(s): 7ca1caa

Upload 4 files

Browse files
Files changed (4) hide show
  1. .env +2 -0
  2. Dockerfile +11 -0
  3. main.py +3 -0
  4. requirements.txt +44 -0
.env ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ OPENAI_API_KEY=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
2
+ ELEVEN_API_KEY=7b1985644f2cf9f388136557f448971e
Dockerfile ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9
2
+
3
+ WORKDIR /code
4
+
5
+ COPY ./requirements.txt /code/requirements.txt
6
+
7
+ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
+
9
+ COPY . .
10
+
11
+ CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]Z
main.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from project import create_app
2
+
3
+ app = create_app()
requirements.txt ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ annotated-types==0.6.0
2
+ anyio==4.2.0
3
+ asttokens==2.4.1
4
+ certifi==2024.2.2
5
+ charset-normalizer==3.3.2
6
+ click==8.1.7
7
+ decorator==5.1.1
8
+ distro==1.9.0
9
+ elevenlabs==0.2.27
10
+ environs==10.3.0
11
+ exceptiongroup==1.2.0
12
+ executing==2.0.1
13
+ fastapi==0.109.2
14
+ h11==0.14.0
15
+ httpcore==1.0.2
16
+ httpx==0.26.0
17
+ idna==3.6
18
+ ipython==8.21.0
19
+ jedi==0.19.1
20
+ marshmallow==3.20.2
21
+ matplotlib-inline==0.1.6
22
+ openai==1.11.1
23
+ packaging==23.2
24
+ parso==0.8.3
25
+ pexpect==4.9.0
26
+ prompt-toolkit==3.0.43
27
+ ptyprocess==0.7.0
28
+ pure-eval==0.2.2
29
+ pydantic==2.6.0
30
+ pydantic_core==2.16.1
31
+ Pygments==2.17.2
32
+ python-dotenv==1.0.1
33
+ requests==2.31.0
34
+ six==1.16.0
35
+ sniffio==1.3.0
36
+ stack-data==0.6.3
37
+ starlette==0.36.3
38
+ tqdm==4.66.1
39
+ traitlets==5.14.1
40
+ typing_extensions==4.9.0
41
+ urllib3==2.2.0
42
+ uvicorn==0.27.1
43
+ wcwidth==0.2.13
44
+ websockets==12.0