Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -77,15 +77,15 @@ interface = gr.Interface(
|
|
| 77 |
inputs=[
|
| 78 |
gr.Textbox(
|
| 79 |
label="Health Goals (comma-separated)",
|
| 80 |
-
|
| 81 |
),
|
| 82 |
gr.Textbox(
|
| 83 |
label="Priorities (comma-separated, higher = important)",
|
| 84 |
-
|
| 85 |
),
|
| 86 |
gr.Textbox(
|
| 87 |
label="Dependencies (goal1:goal2 format, comma-separated)",
|
| 88 |
-
|
| 89 |
),
|
| 90 |
gr.Number(
|
| 91 |
label="Total Time Available (in days)",
|
|
@@ -98,10 +98,7 @@ interface = gr.Interface(
|
|
| 98 |
gr.Code(label="Ayurvedic Action Plan", language="json")
|
| 99 |
],
|
| 100 |
title="Ayurvedic Goal Setting Agent (Algorithm 4.2)",
|
| 101 |
-
description=
|
| 102 |
-
"Generates a personalized healing plan based on dosha imbalance, "
|
| 103 |
-
"priorities, and dependencies. Helps structure lifestyle, diet, and wellness goals."
|
| 104 |
-
)
|
| 105 |
)
|
| 106 |
|
| 107 |
if __name__ == "__main__":
|
|
|
|
| 77 |
inputs=[
|
| 78 |
gr.Textbox(
|
| 79 |
label="Health Goals (comma-separated)",
|
| 80 |
+
value="Reduce Vata imbalance, Improve digestion (Pitta), Enhance sleep quality, Balance Kapha"
|
| 81 |
),
|
| 82 |
gr.Textbox(
|
| 83 |
label="Priorities (comma-separated, higher = important)",
|
| 84 |
+
value="3, 2, 1, 2"
|
| 85 |
),
|
| 86 |
gr.Textbox(
|
| 87 |
label="Dependencies (goal1:goal2 format, comma-separated)",
|
| 88 |
+
value="Enhance sleep quality:Reduce Vata imbalance, Improve digestion (Pitta):Balance Kapha"
|
| 89 |
),
|
| 90 |
gr.Number(
|
| 91 |
label="Total Time Available (in days)",
|
|
|
|
| 98 |
gr.Code(label="Ayurvedic Action Plan", language="json")
|
| 99 |
],
|
| 100 |
title="Ayurvedic Goal Setting Agent (Algorithm 4.2)",
|
| 101 |
+
description="Generates a personalized healing plan based on dosha imbalance, priorities, and dependencies."
|
|
|
|
|
|
|
|
|
|
| 102 |
)
|
| 103 |
|
| 104 |
if __name__ == "__main__":
|