Spaces:
Runtime error
Runtime error
Karan Goel
commited on
Commit
ยท
a9ecfe5
1
Parent(s):
ad0ef91
udpate
Browse files- tutorial-1.py +2 -0
tutorial-1.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import meerkat as mk
|
2 |
|
|
|
3 |
|
4 |
df = mk.get("imagenette", version="160px")
|
5 |
IMAGE_COL = "img"
|
@@ -62,6 +63,7 @@ from fastapi.staticfiles import StaticFiles
|
|
62 |
# f'VITE_API_URL||"{api_url}"',
|
63 |
# "*.js",
|
64 |
# )
|
|
|
65 |
page().mount("/", StaticFiles(directory=os.path.abspath("./meerkat/interactive/app/build/"), html=True), "test")
|
66 |
# page().mount("/static", StaticFiles(directory=os.path.abspath("./temp/"),html = True), "test")
|
67 |
page.launch()
|
|
|
1 |
import meerkat as mk
|
2 |
|
3 |
+
print("Starting Meerkat...")
|
4 |
|
5 |
df = mk.get("imagenette", version="160px")
|
6 |
IMAGE_COL = "img"
|
|
|
63 |
# f'VITE_API_URL||"{api_url}"',
|
64 |
# "*.js",
|
65 |
# )
|
66 |
+
print("Mounting static files...")
|
67 |
page().mount("/", StaticFiles(directory=os.path.abspath("./meerkat/interactive/app/build/"), html=True), "test")
|
68 |
# page().mount("/static", StaticFiles(directory=os.path.abspath("./temp/"),html = True), "test")
|
69 |
page.launch()
|