Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,6 +24,10 @@ def get_rxcui(drug_name: str) -> str:
|
|
| 24 |
@tool
|
| 25 |
def check_drug_interaction(drug_1: str, drug_2: str) -> str:
|
| 26 |
"""Checks for potential interactions between two medications using the NLM Interaction API."""
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
rxcui_1 = get_rxcui(drug_1)
|
| 28 |
rxcui_2 = get_rxcui(drug_2)
|
| 29 |
|
|
|
|
| 24 |
@tool
|
| 25 |
def check_drug_interaction(drug_1: str, drug_2: str) -> str:
|
| 26 |
"""Checks for potential interactions between two medications using the NLM Interaction API."""
|
| 27 |
+
Args:
|
| 28 |
+
drug_1: The name of the first drug.
|
| 29 |
+
drug_2: The name of the second drug.
|
| 30 |
+
|
| 31 |
rxcui_1 = get_rxcui(drug_1)
|
| 32 |
rxcui_2 = get_rxcui(drug_2)
|
| 33 |
|