Abhaykoul commited on
Commit
9042952
1 Parent(s): 2b872cb

Upload 2 files

Browse files
Files changed (2) hide show
  1. Dockerfile +16 -0
  2. requirements.txt +59 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
2
+ # you will also find guides on how best to write your Dockerfile
3
+
4
+ FROM python:3.9
5
+
6
+ RUN useradd -m -u 1000 user
7
+
8
+ WORKDIR /app
9
+
10
+ COPY --chown=user ./requirements.txt requirements.txt
11
+
12
+ RUN pip install --no-cache-dir --upgrade -r requirements.txt
13
+
14
+ COPY --chown=user . /app
15
+
16
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
requirements.txt ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ docstring_inheritance
2
+ click
3
+ curl_cffi
4
+ nest-asyncio
5
+ g4f>=0.2.2.3
6
+ g4f[webdriver]
7
+ rich
8
+ beautifulsoup4
9
+ markdownify
10
+ requests
11
+ google-generativeai
12
+ lxml>=5.2.2
13
+ termcolor
14
+ orjson
15
+ PyYAML
16
+ tls_client
17
+ clipman
18
+ playsound
19
+ ollama
20
+ pyfiglet
21
+ pillow
22
+ requests_html
23
+ bson
24
+ cloudscraper
25
+ emoji
26
+ openai
27
+ prompt-toolkit
28
+ fake_useragent
29
+ primp
30
+ beautifulsoup4==4.12.3
31
+ blessed==1.20.0
32
+ Brotli==1.1.0
33
+ bs4==0.0.1
34
+ requests
35
+ soupsieve==2.5
36
+ orjson
37
+ spinners==0.0.24
38
+ sse-starlette==2.1.2
39
+ stack-data==0.6.3
40
+ starlette==0.37.2
41
+ StrEnum==0.4.15
42
+ style==1.1.0
43
+ termcolor==2.4.0
44
+ tiktoken==0.6.0
45
+ tldextract==5.1.2
46
+ tls-client==1.0.1
47
+ tokenizers==0.19.1
48
+ tokentrim==0.1.13
49
+ toml==0.10.2
50
+ tornado==6.4.1
51
+ tqdm==4.66.4
52
+ traitlets==5.14.3
53
+ fastapi
54
+ pyreqwest_impersonate
55
+ aiohttp
56
+ mechanize
57
+ easygoogletranslate
58
+ pillow
59
+ primp