Spaces:
Sleeping
Sleeping
Deploy lightweight Gradio frontend with Modal backend integration
Browse files
README.md
CHANGED
@@ -8,12 +8,22 @@ colorTo: "green"
|
|
8 |
sdk: "gradio"
|
9 |
app_file: "app.py"
|
10 |
pinned: false
|
11 |
-
#
|
|
|
|
|
|
|
12 |
secrets:
|
13 |
- MODAL_BACKEND_URL
|
14 |
---
|
15 |
|
16 |
# 🧠 GHAPA: Intelligent Health AI Assistant (Powered by Modal ⚡)
|
17 |
-
This is the user interface for the GHAPA system. It provides a simple, responsive UI that communicates with a powerful, GPU-accelerated backend hosted on Modal Labs.
|
18 |
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
sdk: "gradio"
|
9 |
app_file: "app.py"
|
10 |
pinned: false
|
11 |
+
# --- THIS IS THE MOST IMPORTANT LINE ---
|
12 |
+
# This line tells Hugging Face that your app.py script needs permission
|
13 |
+
# to access the secret named "MODAL_BACKEND_URL". Without this, os.getenv()
|
14 |
+
# will not work.
|
15 |
secrets:
|
16 |
- MODAL_BACKEND_URL
|
17 |
---
|
18 |
|
19 |
# 🧠 GHAPA: Intelligent Health AI Assistant (Powered by Modal ⚡)
|
20 |
+
This is the user interface for the GHAPA multi-agent system. It provides a simple, responsive UI that communicates with a powerful, GPU-accelerated backend hosted on Modal Labs.
|
21 |
|
22 |
+
This decoupled architecture ensures that the user interface remains lightweight and fast, while all computationally intensive AI tasks are handled by a scalable, on-demand backend.
|
23 |
+
|
24 |
+
### How to Use
|
25 |
+
Ask your health question in **English, Spanish, Hindi, or French**. The system will:
|
26 |
+
1. Auto-detect your language.
|
27 |
+
2. Send the query to the Modal backend.
|
28 |
+
3. Receive a trusted answer generated from PubMed articles.
|
29 |
+
4. Display the result, usually within seconds.
|