PygmalionAI / gradio-ui

Prototype UI for chatting with the Pygmalion models.
GNU Affero General Public License v3.0
225 stars 66 forks source link

Add feature to keep Colab tab active in the background on mobile #9

Closed 0x000011b closed 1 year ago

0x000011b commented 1 year ago

Feature request from the thread. Basically, when running Colab on mobile, if you switch tabs the browser might kill it and then the server dies since the notebook was shut off.

KAI gets around this by adding an optional block that just loops a silent audio file, which forces the browser to keep that tab loaded in memory. We could reuse that on our notebook here.

0x000011b commented 1 year ago

Added in https://github.com/PygmalionAI/gradio-ui/pull/11.