Spaces:
Runtime error
Runtime error
Boris Ustyugov
commited on
Commit
·
b50e57d
1
Parent(s):
5553133
model load from hf model repo
Browse files- Makefile +10 -0
- README.md +0 -2
- requirements.txt +5 -5
Makefile
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.PHONY: *
|
2 |
+
|
3 |
+
install:
|
4 |
+
uv pip install -r requirements.txt
|
5 |
+
|
6 |
+
upload_model:
|
7 |
+
PYTHONPATH=. python upload_model.py
|
8 |
+
|
9 |
+
run_app:
|
10 |
+
PYTHONPATH=. python app.py
|
README.md
CHANGED
@@ -9,5 +9,3 @@ app_file: app.py
|
|
9 |
pinned: false
|
10 |
short_description: ProsusAI/finbert finetuned just for test
|
11 |
---
|
12 |
-
|
13 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-references
|
|
|
9 |
pinned: false
|
10 |
short_description: ProsusAI/finbert finetuned just for test
|
11 |
---
|
|
|
|
requirements.txt
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
gradio
|
2 |
-
torch
|
3 |
-
transformers
|
4 |
-
huggingface-hub
|
5 |
-
pyyaml
|
|
|
1 |
+
gradio==5.46.1
|
2 |
+
torch>=1.13.0
|
3 |
+
transformers>=4.36.0
|
4 |
+
huggingface-hub>=0.20.0
|
5 |
+
pyyaml>=6.0
|