Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,10 +11,10 @@ agent = PostpartumResearchAgent()
|
|
| 11 |
# GAIA API base URL
|
| 12 |
GAIA_API_URL = "https://huggingface.co/api/gaia"
|
| 13 |
|
| 14 |
-
|
| 15 |
-
# return agent.run(question)
|
| 16 |
-
def run(self, question):
|
| 17 |
return self.kb_search(question)
|
|
|
|
|
|
|
| 18 |
|
| 19 |
|
| 20 |
def submit_to_gaia(username, space_link):
|
|
|
|
| 11 |
# GAIA API base URL
|
| 12 |
GAIA_API_URL = "https://huggingface.co/api/gaia"
|
| 13 |
|
| 14 |
+
def answer_question(question):
|
|
|
|
|
|
|
| 15 |
return self.kb_search(question)
|
| 16 |
+
# def run(self, question):
|
| 17 |
+
# return self.kb_search(question)
|
| 18 |
|
| 19 |
|
| 20 |
def submit_to_gaia(username, space_link):
|