awacke1 commited on
Commit
a4b1e84
Β·
verified Β·
1 Parent(s): 57a1ea8

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +147 -26
requirements.txt CHANGED
@@ -1,26 +1,147 @@
1
- streamlit
2
- Pillow
3
- plotly
4
- opencv-python
5
- moviepy
6
- python-dotenv
7
- pytz
8
- requests
9
- openai
10
- beautifulsoup4
11
- PyPDF2
12
- textract
13
- gradio-client
14
- huggingface-hub
15
- audio-recorder-streamlit
16
- xmltodict
17
- mistune
18
- python-docx
19
- faiss-cpu
20
- scikit-learn
21
- langchain
22
- tiktoken
23
- anthropic
24
- extra-streamlit-components
25
- moviepy
26
- edge_tts==6.1.12
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.