(self, y)
| 66 | |
| 67 | |
| 68 | def postprocess(self, y): |
| 69 | if y is None: |
| 70 | return [] |
| 71 | for i, (message, response) in enumerate(y): |
| 72 | y[i] = ( |
| 73 | None if message is None else mdtex2html.convert((message)), |
| 74 | None if response is None else mdtex2html.convert(response), |
| 75 | ) |
| 76 | return y |
| 77 | |
| 78 | |
| 79 | gr.Chatbot.postprocess = postprocess |
nothing calls this directly
no outgoing calls
no test coverage detected