panda992 commited on
Commit
19ef707
·
1 Parent(s): 191f903

Deploy lightweight Gradio frontend with Modal backend integration

Browse files
Files changed (1) hide show
  1. README.md +13 -3
README.md CHANGED
@@ -8,12 +8,22 @@ colorTo: "green"
8
  sdk: "gradio"
9
  app_file: "app.py"
10
  pinned: false
11
- # This app runs on the free CPU tier, as all heavy work is done by Modal
 
 
 
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
- Ask your health question in **English, Spanish, Hindi, or French**. The system will auto-detect your language, find the most relevant PubMed article, and provide a trusted answer at high speed.
 
 
 
 
 
 
 
 
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.