Bootstrap Audio Flamingo 3 custom endpoint repo
Browse files- README.md +1 -0
- requirements.txt +2 -1
- setup.py +7 -0
README.md
CHANGED
|
@@ -37,6 +37,7 @@ Important: make sure your endpoint repo contains top-level:
|
|
| 37 |
- `handler.py`
|
| 38 |
- `requirements.txt`
|
| 39 |
- `sitecustomize.py`
|
|
|
|
| 40 |
|
| 41 |
from this folder.
|
| 42 |
If logs say `No custom pipeline found at /repository/handler.py`, your files were not copied to repo root.
|
|
|
|
| 37 |
- `handler.py`
|
| 38 |
- `requirements.txt`
|
| 39 |
- `sitecustomize.py`
|
| 40 |
+
- `setup.py`
|
| 41 |
|
| 42 |
from this folder.
|
| 43 |
If logs say `No custom pipeline found at /repository/handler.py`, your files were not copied to repo root.
|
requirements.txt
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
-
|
|
|
|
| 2 |
torchaudio
|
| 3 |
soundfile
|
| 4 |
numpy
|
|
|
|
| 1 |
+
-e .
|
| 2 |
+
torch
|
| 3 |
torchaudio
|
| 4 |
soundfile
|
| 5 |
numpy
|
setup.py
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from setuptools import setup
|
| 2 |
+
|
| 3 |
+
setup(
|
| 4 |
+
name='af3-runtime-patch',
|
| 5 |
+
version='0.0.1',
|
| 6 |
+
py_modules=['sitecustomize'],
|
| 7 |
+
)
|