Spaces:
Runtime error
Runtime error
zaibutcooler
commited on
Commit
•
88b1583
1
Parent(s):
58d69fc
ready to start
Browse files- .github/PULL_REQUEST_TEMPLATE.md +0 -19
- CONTRIBUTING.md +5 -5
- agency/agency.py +1 -0
- agency/agents.py +1 -0
- agency/tasks.py +1 -0
- agency/utils.py +0 -0
- interface.py +9 -0
- requirements.txt +1 -0
- setup.py +8 -9
- tests/test_ollama.py +19 -0
.github/PULL_REQUEST_TEMPLATE.md
CHANGED
@@ -10,25 +10,6 @@
|
|
10 |
|
11 |
<!-- Describe in detail the changes and improvements made by this PR -->
|
12 |
|
13 |
-
|
14 |
-
## Related Issues
|
15 |
-
|
16 |
-
<!-- Mention any related issues or links to discussions -->
|
17 |
-
|
18 |
## Screenshots / GIFs (if applicable)
|
19 |
|
20 |
<!-- If applicable, add screenshots or GIFs showcasing the changes -->
|
21 |
-
|
22 |
-
## Checklist
|
23 |
-
|
24 |
-
- [ ] I have tested these changes locally
|
25 |
-
- [ ] I have ensured my code follows the project's coding style
|
26 |
-
- [ ] I have updated the documentation accordingly
|
27 |
-
- [ ] My changes do not introduce any new warnings or errors
|
28 |
-
- [ ] All tests pass successfully
|
29 |
-
- [ ] I have added/updated unit tests (if necessary)
|
30 |
-
|
31 |
-
## Additional Notes
|
32 |
-
|
33 |
-
<!-- Any additional information or notes for the reviewers -->
|
34 |
-
|
|
|
10 |
|
11 |
<!-- Describe in detail the changes and improvements made by this PR -->
|
12 |
|
|
|
|
|
|
|
|
|
|
|
13 |
## Screenshots / GIFs (if applicable)
|
14 |
|
15 |
<!-- If applicable, add screenshots or GIFs showcasing the changes -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CONTRIBUTING.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
# Contributing to
|
2 |
|
3 |
-
Thank you for considering contributing to
|
4 |
|
5 |
## Code of Conduct
|
6 |
|
@@ -13,7 +13,7 @@ This project and everyone participating in it are governed by the [Code of Condu
|
|
13 |
2. Clone the forked repository to your local machine:
|
14 |
|
15 |
```bash
|
16 |
-
git clone https://github.com/zaibutcooler/
|
17 |
```
|
18 |
|
19 |
3. Create a new branch for your feature or bug fix:
|
@@ -41,7 +41,7 @@ This project and everyone participating in it are governed by the [Code of Condu
|
|
41 |
|
42 |
## Reporting Issues
|
43 |
|
44 |
-
If you find any issues or have suggestions, please open an issue on the [Issue Tracker](https://github.com/zaibutcooler/
|
45 |
|
46 |
## Style Guide
|
47 |
|
@@ -53,4 +53,4 @@ If you find any issues or have suggestions, please open an issue on the [Issue T
|
|
53 |
|
54 |
By contributing, you agree that your contributions will be licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
|
55 |
|
56 |
-
Thank you for contributing to
|
|
|
1 |
+
# Contributing to agency
|
2 |
|
3 |
+
Thank you for considering contributing to agency! Please take a moment to review the following guidelines.
|
4 |
|
5 |
## Code of Conduct
|
6 |
|
|
|
13 |
2. Clone the forked repository to your local machine:
|
14 |
|
15 |
```bash
|
16 |
+
git clone https://github.com/zaibutcooler/agency.git
|
17 |
```
|
18 |
|
19 |
3. Create a new branch for your feature or bug fix:
|
|
|
41 |
|
42 |
## Reporting Issues
|
43 |
|
44 |
+
If you find any issues or have suggestions, please open an issue on the [Issue Tracker](https://github.com/zaibutcooler/agency/issues).
|
45 |
|
46 |
## Style Guide
|
47 |
|
|
|
53 |
|
54 |
By contributing, you agree that your contributions will be licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
|
55 |
|
56 |
+
Thank you for contributing to agency!
|
agency/agency.py
CHANGED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
from langchain_community.llms import ollama
|
agency/agents.py
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
# declare agents
|
agency/tasks.py
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
# declare tasks
|
agency/utils.py
ADDED
File without changes
|
interface.py
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
|
3 |
+
|
4 |
+
def main():
|
5 |
+
st.title("Agentic workflow!")
|
6 |
+
|
7 |
+
|
8 |
+
if __name__ == "__main__":
|
9 |
+
main()
|
requirements.txt
CHANGED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
streamlit
|
setup.py
CHANGED
@@ -1,12 +1,11 @@
|
|
1 |
from setuptools import setup
|
2 |
|
3 |
-
setup(
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
],
|
12 |
)
|
|
|
1 |
from setuptools import setup
|
2 |
|
3 |
+
setup(
|
4 |
+
name="Uwu",
|
5 |
+
version="0.0.1",
|
6 |
+
author="Zai",
|
7 |
+
packages=["uwu"],
|
8 |
+
description="A text to speech and speech to text model",
|
9 |
+
license="GNU",
|
10 |
+
install_requires=["torch", "torchaudio"],
|
|
|
11 |
)
|
tests/test_ollama.py
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# test_demo.py
|
2 |
+
import unittest
|
3 |
+
|
4 |
+
|
5 |
+
def add_numbers(a, b):
|
6 |
+
return a + b
|
7 |
+
|
8 |
+
|
9 |
+
def multiply_numbers(a, b):
|
10 |
+
return a * b
|
11 |
+
|
12 |
+
|
13 |
+
class TestOllama(unittest.TestCase):
|
14 |
+
def test_download(self):
|
15 |
+
pass
|
16 |
+
|
17 |
+
|
18 |
+
if __name__ == "__main__":
|
19 |
+
unittest.main()
|