Update app.py
Browse files
app.py
CHANGED
|
@@ -45,6 +45,16 @@ def get_top_chunks(query):
|
|
| 45 |
|
| 46 |
client = InferenceClient("google/gemma-3-27b-it")
|
| 47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
def respond(message,history):
|
| 49 |
if "nearest obgyn" in message.lower():
|
| 50 |
# Return a custom response (for UI to act on)
|
|
|
|
| 45 |
|
| 46 |
client = InferenceClient("google/gemma-3-27b-it")
|
| 47 |
|
| 48 |
+
def show_obgyn_info(location):
|
| 49 |
+
clinics = {
|
| 50 |
+
"New York": "NY Clinic A, NY Clinic B, NY Clinic C",
|
| 51 |
+
"California": "CA Clinic X, CA Clinic Y, CA Clinic Z",
|
| 52 |
+
"Texas": "TX Clinic 1, TX Clinic 2, TX Clinic 3",
|
| 53 |
+
"Florida": "FL Clinic Alpha, FL Clinic Beta, FL Clinic Gamma"
|
| 54 |
+
}
|
| 55 |
+
return clinics.get(location, "Sorry, no clinics found for this location.")
|
| 56 |
+
#delete if doesnt work, supposed to define fn function
|
| 57 |
+
|
| 58 |
def respond(message,history):
|
| 59 |
if "nearest obgyn" in message.lower():
|
| 60 |
# Return a custom response (for UI to act on)
|