Spaces:
Sleeping
Sleeping
Update shared.py
Browse files
shared.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
from pathlib import Path
|
| 2 |
|
| 3 |
-
import pandas as pd
|
| 4 |
|
|
|
|
| 5 |
app_dir = Path(__file__).parent
|
| 6 |
-
|
|
|
|
|
|
| 1 |
from pathlib import Path
|
| 2 |
|
|
|
|
| 3 |
|
| 4 |
+
## Example for getting app dir
|
| 5 |
app_dir = Path(__file__).parent
|
| 6 |
+
# import pandas as pd
|
| 7 |
+
# tips = pd.read_csv(app_dir / "tips.csv")
|