Spaces:
Sleeping
Sleeping
add get_cur_path
Browse files
app.py
CHANGED
|
@@ -55,5 +55,5 @@ CREATE TABLE api_keys (
|
|
| 55 |
|
| 56 |
@app.get("/cur_path")
|
| 57 |
def cur_path():
|
| 58 |
-
return "cur_path"
|
| 59 |
-
|
|
|
|
| 55 |
|
| 56 |
@app.get("/cur_path")
|
| 57 |
def cur_path():
|
| 58 |
+
# return "cur_path"
|
| 59 |
+
return {"cur_path": os.getcwd()}
|