Spaces:
Runtime error
Runtime error
Jorge Angles commited on
Commit ·
f430c77
1
Parent(s): a5f2437
Created initial structure and Makefile
Browse files- .gitignore +2 -0
- Makefile +18 -0
- app.py +0 -0
- requirements.txt +3 -0
.gitignore
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
|
|
|
|
|
| 1 |
# Byte-compiled / optimized / DLL files
|
| 2 |
__pycache__/
|
| 3 |
*.py[cod]
|
|
|
|
| 1 |
+
# macOS
|
| 2 |
+
.DS_Store
|
| 3 |
# Byte-compiled / optimized / DLL files
|
| 4 |
__pycache__/
|
| 5 |
*.py[cod]
|
Makefile
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
install:
|
| 2 |
+
pip install --upgrade pip &&\
|
| 3 |
+
pip install -r requirements.txt
|
| 4 |
+
|
| 5 |
+
test:
|
| 6 |
+
#python -m pytest -vvv --cov=hello --cov=greeting \
|
| 7 |
+
--cov=smath --cov=web tests
|
| 8 |
+
|
| 9 |
+
debug:
|
| 10 |
+
python -m pytest -vv --pdb #Debugger is invoked
|
| 11 |
+
|
| 12 |
+
format:
|
| 13 |
+
black *.py
|
| 14 |
+
|
| 15 |
+
lint:
|
| 16 |
+
pylint --disable=R,C *.py
|
| 17 |
+
|
| 18 |
+
all: install lint test format
|
app.py
ADDED
|
File without changes
|
requirements.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
gradio
|
| 2 |
+
transformers
|
| 3 |
+
tensorflow
|