Spaces:
Runtime error
Runtime error
update app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from pathlib import Path
|
| 2 |
+
import sys
|
| 3 |
+
|
| 4 |
+
HERE = Path(__file__).resolve().parent
|
| 5 |
+
for candidate in (HERE, HERE.parent):
|
| 6 |
+
sys.path.insert(0, str(candidate))
|
| 7 |
+
|
| 8 |
+
from image_to_station_audio import main
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
if __name__ == "__main__":
|
| 12 |
+
main()
|