Spaces:
Runtime error
Runtime error
Cleanup html
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ class AASLDConversationalAgent():
|
|
64 |
|
65 |
def _get_html_content(self, res:str):
|
66 |
print(res)
|
67 |
-
return res.split('```html')[1]
|
68 |
|
69 |
def get_answer(self, question: str):
|
70 |
res = self.rag_chat_agent(question)
|
|
|
64 |
|
65 |
def _get_html_content(self, res:str):
|
66 |
print(res)
|
67 |
+
return res.split('```html')[1].replace('```', '')
|
68 |
|
69 |
def get_answer(self, question: str):
|
70 |
res = self.rag_chat_agent(question)
|