Open zico5288 opened 3 years ago
@kunjmehta
One way to do this would be to: 1) Store the URL/path of the image in the training data 2) Check for these URLs/paths on the front-end and instead of displaying the answer as raw text, display it as an <img src="URL/path" /> tag
<img src="URL/path" />
Originally posted by @chamkank in https://github.com/chamkank/flask-chatterbot/issues/23#issuecomment-473486995
@kunjmehta
One way to do this would be to: 1) Store the URL/path of the image in the training data 2) Check for these URLs/paths on the front-end and instead of displaying the answer as raw text, display it as an
<img src="URL/path" />
tagOriginally posted by @chamkank in https://github.com/chamkank/flask-chatterbot/issues/23#issuecomment-473486995