Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update requirements.txt
Browse files- requirements.txt +147 -26
requirements.txt
CHANGED
@@ -1,26 +1,147 @@
|
|
1 |
-
streamlit
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
moviepy
|
26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
streamlit # Core library for building interactive web apps.
|
2 |
+
# Top functions:
|
3 |
+
# 1. st.write() β Write text, markdown, or data to the app.
|
4 |
+
# 2. st.button() β Add an interactive button.
|
5 |
+
# 3. st.file_uploader() β Upload files directly to the app.
|
6 |
+
|
7 |
+
Pillow # Image processing library (PIL fork).
|
8 |
+
# Top functions:
|
9 |
+
# 1. Image.open() β Open an image file.
|
10 |
+
# 2. Image.save() β Save an image in a specific format.
|
11 |
+
# 3. Image.resize() β Resize an image to desired dimensions.
|
12 |
+
|
13 |
+
plotly # Visualization library for creating interactive plots.
|
14 |
+
# Top functions:
|
15 |
+
# 1. plotly.express.scatter() β Create scatter plots.
|
16 |
+
# 2. plotly.express.line() β Generate line charts.
|
17 |
+
# 3. plotly.graph_objects.Figure() β Create custom figure layouts.
|
18 |
+
|
19 |
+
opencv-python # Real-time computer vision library.
|
20 |
+
# Top functions:
|
21 |
+
# 1. cv2.imread() β Read an image.
|
22 |
+
# 2. cv2.imshow() β Display an image in a window.
|
23 |
+
# 3. cv2.resize() β Resize images.
|
24 |
+
|
25 |
+
moviepy # Video editing and processing.
|
26 |
+
# Top functions:
|
27 |
+
# 1. VideoFileClip() β Load and manipulate video files.
|
28 |
+
# 2. concatenate_videoclips() β Combine multiple video clips.
|
29 |
+
# 3. write_videofile() β Export videos to a file.
|
30 |
+
|
31 |
+
python-dotenv # Load environment variables from .env files.
|
32 |
+
# Top functions:
|
33 |
+
# 1. load_dotenv() β Load variables from .env.
|
34 |
+
# 2. dotenv_values() β Retrieve values as a dictionary.
|
35 |
+
# 3. set_key() β Set new environment variables.
|
36 |
+
|
37 |
+
pytz # Timezone definitions for datetime handling.
|
38 |
+
# Top functions:
|
39 |
+
# 1. timezone() β Get timezone info.
|
40 |
+
# 2. localize() β Attach timezone info to naive datetimes.
|
41 |
+
# 3. utc() β Get the UTC timezone.
|
42 |
+
|
43 |
+
requests # HTTP requests to fetch data from APIs.
|
44 |
+
# Top functions:
|
45 |
+
# 1. get() β Perform HTTP GET requests.
|
46 |
+
# 2. post() β Send POST data to an endpoint.
|
47 |
+
# 3. json() β Parse JSON from responses.
|
48 |
+
|
49 |
+
openai # Interface for OpenAI APIs (ChatGPT, DALLΒ·E).
|
50 |
+
# Top functions:
|
51 |
+
# 1. openai.ChatCompletion.create() β Generate chat responses.
|
52 |
+
# 2. openai.Image.create() β Create images with DALLΒ·E.
|
53 |
+
# 3. openai.Audio.transcribe() β Transcribe audio to text.
|
54 |
+
|
55 |
+
beautifulsoup4 # Web scraping and parsing HTML/XML.
|
56 |
+
# Top functions:
|
57 |
+
# 1. BeautifulSoup() β Parse HTML/XML documents.
|
58 |
+
# 2. find() β Search for elements.
|
59 |
+
# 3. find_all() β Retrieve multiple elements.
|
60 |
+
|
61 |
+
PyPDF2 # PDF processing and extraction.
|
62 |
+
# Top functions:
|
63 |
+
# 1. PdfReader() β Read PDF files.
|
64 |
+
# 2. PdfWriter() β Create or manipulate PDFs.
|
65 |
+
# 3. extract_text() β Extract text from PDF pages.
|
66 |
+
|
67 |
+
textract # Extract text from documents of various formats.
|
68 |
+
# Top functions:
|
69 |
+
# 1. process() β Extract text from any file format.
|
70 |
+
# 2. exceptions() β Handle specific errors.
|
71 |
+
# 3. is_supported() β Check if file type is supported.
|
72 |
+
|
73 |
+
gradio-client # Client to interact with Gradio interfaces.
|
74 |
+
# Top functions:
|
75 |
+
# 1. submit() β Submit input to Gradio endpoints.
|
76 |
+
# 2. predict() β Call Gradio API predictions.
|
77 |
+
# 3. Interface() β Define and load models.
|
78 |
+
|
79 |
+
huggingface-hub # Access Hugging Face models and datasets.
|
80 |
+
# Top functions:
|
81 |
+
# 1. from_pretrained() β Load pretrained models.
|
82 |
+
# 2. snapshot_download() β Download model snapshots.
|
83 |
+
# 3. list_models() β List models available.
|
84 |
+
|
85 |
+
audio-recorder-streamlit # Streamlit component for audio recording.
|
86 |
+
# Top functions:
|
87 |
+
# 1. audio_recorder() β Record audio directly in Streamlit apps.
|
88 |
+
|
89 |
+
xmltodict # Parse XML into Python dictionaries.
|
90 |
+
# Top functions:
|
91 |
+
# 1. parse() β Convert XML to dictionary.
|
92 |
+
# 2. unparse() β Convert dictionary back to XML.
|
93 |
+
# 3. ordered_dict() β Maintain element order.
|
94 |
+
|
95 |
+
mistune # Markdown parsing in Python.
|
96 |
+
# Top functions:
|
97 |
+
# 1. markdown() β Render markdown text to HTML.
|
98 |
+
# 2. escape() β Escape HTML elements.
|
99 |
+
# 3. renderer() β Customize rendering options.
|
100 |
+
|
101 |
+
python-docx # Create and modify .docx files.
|
102 |
+
# Top functions:
|
103 |
+
# 1. Document() β Create or load Word documents.
|
104 |
+
# 2. add_paragraph() β Add paragraphs.
|
105 |
+
# 3. save() β Save to .docx format.
|
106 |
+
|
107 |
+
faiss-cpu # Efficient similarity search and clustering.
|
108 |
+
# Top functions:
|
109 |
+
# 1. IndexFlatL2() β Create L2 norm index.
|
110 |
+
# 2. search() β Perform similarity searches.
|
111 |
+
# 3. add() β Add vectors to the index.
|
112 |
+
|
113 |
+
scikit-learn # Machine learning tools.
|
114 |
+
# Top functions:
|
115 |
+
# 1. fit() β Train models.
|
116 |
+
# 2. predict() β Generate predictions.
|
117 |
+
# 3. train_test_split() β Split datasets for training/testing.
|
118 |
+
|
119 |
+
langchain # Chain LLM calls and workflows.
|
120 |
+
# Top functions:
|
121 |
+
# 1. load_chain() β Load chain pipelines.
|
122 |
+
# 2. llm() β Access LLM models.
|
123 |
+
# 3. memory() β Add conversational memory.
|
124 |
+
|
125 |
+
tiktoken # Tokenizer for OpenAI models.
|
126 |
+
# Top functions:
|
127 |
+
# 1. encode() β Encode text into tokens.
|
128 |
+
# 2. decode() β Decode tokens to text.
|
129 |
+
# 3. get_encoding() β Fetch encoding method.
|
130 |
+
|
131 |
+
anthropic # Interface for Claude AI models.
|
132 |
+
# Top functions:
|
133 |
+
# 1. chat() β Generate Claude-based chat responses.
|
134 |
+
|
135 |
+
extra-streamlit-components # Additional Streamlit components.
|
136 |
+
# Top functions:
|
137 |
+
# 1. st_marquee() β Add scrolling marquees.
|
138 |
+
# 2. st_tooltip() β Add tooltips to elements.
|
139 |
+
# 3. st_modal() β Create modals.
|
140 |
+
|
141 |
+
edge_tts==6.1.12 # Text-to-speech via Edge browser.
|
142 |
+
# Top functions:
|
143 |
+
# 1. Communicate() β Convert text to speech.
|
144 |
+
|
145 |
+
st_marquee # Scrolling text marquee for Streamlit apps.
|
146 |
+
# Top functions:
|
147 |
+
# 1. st_marquee() β Display scrolling text.
|