awacke1 commited on
Commit
66bb6dd
Β·
verified Β·
1 Parent(s): de2802f

Update requirements.txt

Browse files
Files changed (1) hide show
  1. 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
- beautifulsoup4
56
- mistune>=3.0.0
 
57
  huggingface_hub
58
- gradio_client
59
- python-dotenv
60
- textract
61
-
62
- torchvision
63
- verovio
64
- diffusers
 
 
 
 
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