Spaces:
Running
Running
tomas-gajarsky
commited on
Commit
·
d3a5c74
1
Parent(s):
57ae7d6
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from facetorch import FaceAnalyzer
|
|
4 |
from omegaconf import OmegaConf
|
5 |
|
6 |
|
7 |
-
cfg = OmegaConf.load("config.merged.
|
8 |
analyzer = FaceAnalyzer(cfg.analyzer)
|
9 |
|
10 |
|
@@ -33,7 +33,7 @@ def main():
|
|
33 |
title=title,
|
34 |
description=description,
|
35 |
article=article,
|
36 |
-
examples=[["./test.jpg"], ["./test2.jpg"]],
|
37 |
).launch(debug=True)
|
38 |
|
39 |
|
|
|
4 |
from omegaconf import OmegaConf
|
5 |
|
6 |
|
7 |
+
cfg = OmegaConf.load("config.merged.yml")
|
8 |
analyzer = FaceAnalyzer(cfg.analyzer)
|
9 |
|
10 |
|
|
|
33 |
title=title,
|
34 |
description=description,
|
35 |
article=article,
|
36 |
+
examples=[["./test.jpg"], ["./test2.jpg"], ["./test3.jpg"], ["./test4.jpg"]],
|
37 |
).launch(debug=True)
|
38 |
|
39 |
|