Spaces:
Runtime error
Runtime error
Kdorlette
commited on
Commit
·
12337ef
1
Parent(s):
9509cf4
Added torch to req
Browse files- app.py +2 -0
- requirements.txt +1 -0
app.py
CHANGED
|
@@ -18,3 +18,5 @@ if file_name is not None:
|
|
| 18 |
col2.header("Probabilities")
|
| 19 |
for p in predictions:
|
| 20 |
col2.subheader(f"{ p['label'] }: { round(p['score'] * 100, 1)}%")
|
|
|
|
|
|
|
|
|
| 18 |
col2.header("Probabilities")
|
| 19 |
for p in predictions:
|
| 20 |
col2.subheader(f"{ p['label'] }: { round(p['score'] * 100, 1)}%")
|
| 21 |
+
|
| 22 |
+
|
requirements.txt
CHANGED
|
@@ -1,2 +1,3 @@
|
|
| 1 |
transformers
|
|
|
|
| 2 |
face-recognition
|
|
|
|
| 1 |
transformers
|
| 2 |
+
torch
|
| 3 |
face-recognition
|