requirements.txt clean up

pull/180/head
Kye 1 year ago
parent 9f20592612
commit 36a641b5f4

@ -7,7 +7,7 @@ repos:
rev: 'v0.0.255'
hooks:
- id: ruff
args: [--fix]
args: [----unsafe-fixes]
- repo: https://github.com/nbQA-dev/nbQA
rev: 1.6.3
hooks:

@ -3,9 +3,6 @@ transformers
pandas
langchain
nest_asyncio
pegasusx
google-generativeai
EdgeGPT
langchain-experimental
playwright
wget==3.2
@ -24,9 +21,7 @@ soundfile
huggingface-hub
google-generativeai
sentencepiece
duckduckgo-search
PyPDF2
agent-protocol
accelerate
chromadb
tiktoken
@ -54,7 +49,6 @@ openai
opencv-python
prettytable
safetensors
streamlit
test-tube
timm
torchmetrics
@ -62,7 +56,6 @@ webdataset
marshmallow
yapf
autopep8
dalle3
cohere
torchvision
rich
@ -71,5 +64,4 @@ rich
mkdocs
mkdocs-material
mkdocs-glightbox
pre-commit

@ -135,8 +135,8 @@ def parse_done_token(response: str) -> bool:
class Flow:
"""
Flow is a chain like structure from langchain that provides the autonomy to language models
to generate sequential responses.
Flow is the structure that provides autonomy to any llm in a reliable and effective fashion.
The flow structure is designed to be used with any llm and provides the following features:
Features:
* Interactive, AI generates, then user input

@ -149,6 +149,7 @@ class SequentialWorkflow:
return {task.description: task.result for task in self.tasks}
def remove_task(self, task_description: str) -> None:
"""Remove tasks from sequential workflow"""
self.tasks = [
task for task in self.tasks if task.description != task_description
]

Loading…
Cancel
Save