awacke1 commited on
Commit
a5cbccd
·
verified ·
1 Parent(s): 1a11dee

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +25 -26
requirements.txt CHANGED
@@ -1,28 +1,27 @@
1
  # requirements.txt
2
 
3
- streamlit>=1.31.0 # Core web app framework - st.write("Hello"), st.button("Click"), st.selectbox("Choose", opts)
4
- Pillow>=10.0.0 # Image processing - Image.open("pic.jpg"), img.resize((100,100)), img.save("out.png")
5
- plotly>=5.18.0 # Interactive plots - px.scatter(df, x="a", y="b"), px.line(df), fig.show()
6
- opencv-python>=4.9.0 # Computer vision - cv2.imread("img.jpg"), cv2.resize(img, (w,h)), cv2.imwrite("out.jpg", img)
7
- moviepy>=1.0.3 # Video editing - VideoFileClip("vid.mp4"), clip.resize(0.5), clip.write_videofile("out.mp4")
8
- python-dotenv>=1.0.0 # Env vars - load_dotenv(), os.getenv("KEY"), dotenv_values()
9
- pytz>=2024.1 # Timezones - timezone('US/Pacific'), dt.astimezone(tz), utc.localize(dt)
10
- requests>=2.31.0 # HTTP client - requests.get(url), r.json(), r.raise_for_status()
11
- openai>=1.12.0 # OpenAI API - client.chat.complete(), client.images.create(), client.audio.transcribe()
12
- beautifulsoup4>=4.12.3 # HTML parse - BeautifulSoup(html), soup.find("div"), soup.find_all("p")
13
- PyPDF2>=3.0.1 # PDF tools - PdfReader("doc.pdf"), reader.pages[0].extract_text(), writer.write(f)
14
- textract>=1.6.5 # Text extract - process("doc.pdf"), process("doc.docx"), process("text.txt")
15
- gradio-client>=0.10.1 # Gradio API - client.predict(text), interface.launch(), client.submit(inputs)
16
- huggingface-hub>=0.20.3 # HF models - from_pretrained("model"), list_models(), push_to_hub()
17
- audio-recorder-streamlit>=0.0.8 # Audio rec - audio_recorder(), get_audio_data(), save_recording()
18
- xmltodict>=0.13.0 # XML parse - parse(xml_str), unparse(dict_obj), parse(f.read())
19
- mistune>=3.0.2 # Markdown - markdown(text), escape(html), renderer.render(tokens)
20
- python-docx>=1.0.1 # Word docs - Document(), doc.add_paragraph(), doc.save("out.docx")
21
- faiss-cpu>=1.7.4 # Vector DB - IndexFlatL2(d), index.add(vecs), D,I = index.search(q,k)
22
- scikit-learn>=1.4.0 # ML tools - fit(X,y), predict(X), train_test_split(X,y)
23
- langchain>=0.1.8 # LLM chain - load_chain(), chain.run(input), memory.save_context()
24
- tiktoken>=0.6.0 # Tokens - encode(text), decode(tokens), num_tokens = len(tokens)
25
- anthropic>=0.18.1 # Claude API - client.messages.create(), client.complete()
26
- extra-streamlit-components>=0.1.60 # UI extras - st_marquee(), st_tooltip(), st_modal()
27
- edge-tts>=6.1.12 # TTS engine - communicate.run(text), save_to_file(), stream_to_speaker()
28
- streamlit-marquee>=0.0.2 # Scroll text - streamlit_marquee(text), set_speed(), set_style()
 
1
  # requirements.txt
2
 
3
+ streamlit # Core web app - st.write("Hello"), st.button("Click"), st.selectbox("Choose", opts)
4
+ Pillow # Image tools - Image.open("pic.jpg"), img.resize((100,100)), img.save("out.png")
5
+ plotly # Plots - px.scatter(df, x="a", y="b"), px.line(df), fig.show()
6
+ opencv-python # Vision - cv2.imread("img.jpg"), cv2.resize(img, (w,h)), cv2.imwrite("out.jpg", img)
7
+ moviepy # Video - VideoFileClip("vid.mp4"), clip.resize(0.5), clip.write_videofile("out.mp4")
8
+ python-dotenv # Env vars - load_dotenv(), os.getenv("KEY"), dotenv_values()
9
+ pytz # Time - timezone('US/Pacific'), dt.astimezone(tz), utc.localize(dt)
10
+ requests # HTTP - requests.get(url), r.json(), r.raise_for_status()
11
+ openai # AI API - client.chat.complete(), client.images.create(), client.audio.transcribe()
12
+ beautifulsoup4 # HTML - BeautifulSoup(html), soup.find("div"), soup.find_all("p")
13
+ PyPDF2 # PDF - PdfReader("doc.pdf"), reader.pages[0].extract_text(), writer.write(f)
14
+ textract # Extract - process("doc.pdf"), process("doc.docx"), process("text.txt")
15
+ gradio-client # Gradio - client.predict(text), interface.launch(), client.submit(inputs)
16
+ huggingface-hub # Models - from_pretrained("model"), list_models(), push_to_hub()
17
+ audio-recorder-streamlit # Audio - audio_recorder(), get_audio_data(), save_recording()
18
+ xmltodict # XML - parse(xml_str), unparse(dict_obj), parse(f.read())
19
+ mistune # Markdown - markdown(text), escape(html), renderer.render(tokens)
20
+ python-docx # Word - Document(), doc.add_paragraph(), doc.save("out.docx")
21
+ faiss-cpu # Vectors - IndexFlatL2(d), index.add(vecs), D,I = index.search(q,k)
22
+ scikit-learn # ML - fit(X,y), predict(X), train_test_split(X,y)
23
+ langchain # LLM - load_chain(), chain.run(input), memory.save_context()
24
+ tiktoken # Tokens - encode(text), decode(tokens), num_tokens = len(tokens)
25
+ anthropic # Claude - client.messages.create(), client.complete()
26
+ edge-tts # TTS - communicate.run(text), save_to_file(), stream_to_speaker()
27
+ streamlit-marquee # Scroll - streamlit_marquee(text), set_speed(), set_style()