kbressem / medAlpaca

LLM finetuned for medical question answering
GNU General Public License v3.0
491 stars 57 forks source link

Roll back changes for demo #1

Closed kbressem closed 1 year ago

kbressem commented 1 year ago

I seems the huggingface pipeline does not support streaming out of the box. While it certainly will be possible to implement this, it might be too much effort for a simple web demo. Therefore, I reset the status of the web demo to just show Awaiting Response and then print everything at once.