Update requirements.txt
Browse files- requirements.txt +13 -60
requirements.txt
CHANGED
@@ -1,64 +1,17 @@
|
|
1 |
streamlit
|
2 |
-
# π st.set_page_config(layout="wide"); st.sidebar.selectbox("Font", options); st.image(img, caption="Preview") - Configures app layout, adds sidebar controls, displays images.
|
3 |
-
# π₯ st.text_area("Edit", value); st.button("Update"); st.download_button("Download", data) - Creates editable text input, triggers updates, offers file downloads.
|
4 |
-
# π€ st.spinner("Generating"); st.session_state['key'] = value; st.experimental_rerun() - Shows loading status, manages state, refreshes app dynamically.
|
5 |
-
|
6 |
-
pillow
|
7 |
-
# π Image.open("file.jpg"); img.resize((100, 100)); img.save("output.png") - Opens images, resizes them, saves in new formats.
|
8 |
-
# π₯ Image.frombytes("RGB", size, data); img.convert("RGBA"); img.crop((0, 0, 50, 50)) - Creates images from raw data, converts modes, crops sections.
|
9 |
-
# π€ img.rotate(90); img.filter(ImageFilter.BLUR); img.show() - Rotates images, applies filters, previews locally.
|
10 |
-
|
11 |
-
pymupdf
|
12 |
-
# π fitz.open("doc.pdf"); page.get_pixmap(matrix); doc.close() - Opens PDF files, renders pages as images, ensures cleanup.
|
13 |
-
# π₯ doc.page_count; page.get_text("text"); page.insert_text("Hello") - Counts pages, extracts text, adds annotations.
|
14 |
-
# π€ fitz.Matrix(2.0, 2.0); pix.samples; page.rect - Scales rendering, accesses pixel data, defines page boundaries.
|
15 |
-
|
16 |
-
reportlab
|
17 |
-
# π SimpleDocTemplate("file.pdf"); doc.build(story); Paragraph("Text", style) - Sets up PDF documents, builds content, styles text blocks.
|
18 |
-
# π₯ Table(data, colWidths); table.setStyle(TableStyle()); Spacer(1, 10) - Creates tables, applies styles, adds spacing between elements.
|
19 |
-
# π€ pdfmetrics.registerFont(TTFont("Font", "file.ttf")); Paragraph("<font face='Font'>π</font>", style); colors.blue - Registers custom fonts, embeds emojis, uses color constants.
|
20 |
-
|
21 |
-
edge-tts
|
22 |
-
# π edge_tts.Communicate("Text", "Voice", rate, pitch) - Initializes TTS conversion with specified text, voice, and optional rate/pitch adjustments.
|
23 |
-
# π₯ await communicate.save("output.mp3") - Asynchronously saves the generated speech audio as an MP3 file.
|
24 |
-
# π€ edge_tts.exceptions.NoAudioReceived - Handles errors when no audio is received during the TTS process.
|
25 |
-
|
26 |
-
pypdf
|
27 |
-
pytz
|
28 |
-
|
29 |
-
|
30 |
pandas
|
31 |
-
torch
|
32 |
-
requests
|
33 |
-
aiofiles
|
34 |
-
pillow
|
35 |
-
|
36 |
-
# PDF processing
|
37 |
-
PyPDF2
|
38 |
-
|
39 |
-
# Transformers and diffusion models
|
40 |
-
transformers
|
41 |
-
diffusers
|
42 |
-
|
43 |
-
# OpenAI integration
|
44 |
-
openai
|
45 |
-
tiktoken
|
46 |
-
|
47 |
-
# Audio and video processing
|
48 |
-
audio-recorder-streamlit
|
49 |
-
opencv-python
|
50 |
-
moviepy
|
51 |
-
|
52 |
-
# Additional utilities
|
53 |
-
glob2
|
54 |
pytz
|
55 |
-
|
56 |
-
|
|
|
57 |
huggingface_hub
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
|
|
|
|
|
|
|
1 |
streamlit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
pandas
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
pytz
|
4 |
+
Pillow
|
5 |
+
reportlab
|
6 |
+
PyMuPDF
|
7 |
huggingface_hub
|
8 |
+
requests
|
9 |
+
aiofiles
|
10 |
+
# Optional AI/ML Libraries (uncomment if needed)
|
11 |
+
# torch
|
12 |
+
# transformers
|
13 |
+
# diffusers
|
14 |
+
# accelerate
|
15 |
+
# bitsandbytes
|
16 |
+
# sentencepiece
|
17 |
+
# protobuf
|