Spaces:
Running
Running
update description
Browse files
app.py
CHANGED
@@ -224,20 +224,21 @@ tqdm>=4.64.0
|
|
224 |
)
|
225 |
|
226 |
progress(1.0, desc="β
Complete!")
|
227 |
-
return f"""β
Successfully created Apple Health
|
228 |
|
229 |
**Private Dataset:** [{dataset_repo_id}]({dataset_url})
|
230 |
-
- Your export.xml file has been securely uploaded
|
231 |
-
- SQLite database (health_data.db)
|
|
|
232 |
|
233 |
**MCP Server Space:** [{space_repo_id}]({space_url})
|
234 |
- Query interface for your health data using SQLite
|
235 |
- MCP endpoint configuration included
|
236 |
- Environment variables automatically configured
|
237 |
-
-
|
238 |
|
239 |
Both repositories are private and only accessible by you.
|
240 |
-
|
241 |
|
242 |
except Exception as e:
|
243 |
return f"β Error creating landing zone: {str(e)}"
|
|
|
224 |
)
|
225 |
|
226 |
progress(1.0, desc="β
Complete!")
|
227 |
+
return f"""β
Successfully created your Private Apple Health Dataset and MCP Server!
|
228 |
|
229 |
**Private Dataset:** [{dataset_repo_id}]({dataset_url})
|
230 |
+
- Your export.xml file has been securely uploaded.
|
231 |
+
- A SQLite database (health_data.db) will be generated from your data as soon as the MCP Server Space starts.
|
232 |
+
- Note: it might take several minutes (up to 1 hour or more) depeding on the size of your export.xml file.
|
233 |
|
234 |
**MCP Server Space:** [{space_repo_id}]({space_url})
|
235 |
- Query interface for your health data using SQLite
|
236 |
- MCP endpoint configuration included
|
237 |
- Environment variables automatically configured
|
238 |
+
- It will work until expiration of your oauth token, to make it work permanently, create a new fine-grained token with `read` and `write` permissions to your private health dataset and set it as `HF_TOKEN` secret in the MCP Server Space.
|
239 |
|
240 |
Both repositories are private and only accessible by you.
|
241 |
+
"""
|
242 |
|
243 |
except Exception as e:
|
244 |
return f"β Error creating landing zone: {str(e)}"
|