Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
posit
/
shiny-for-python-template
like
7
Runtime error
App
Files
Files
Community
9
cpsievert
commited on
13 days ago
Commit
3f142c4
•
1 Parent(s):
5d0f41e
Migrate to dashboard-tips example
Browse files
Files changed (1)
hide
show
shared.py
+6
-0
shared.py
ADDED
Viewed
@@ -0,0 +1,6 @@
1
+
from pathlib import Path
2
+
3
+
import pandas as pd
4
+
5
+
app_dir = Path(__file__).parent
6
+
tips = pd.read_csv(app_dir / "tips.csv")