Spaces:
Running
Running
Download src/processor/reasoning/interface.py from Jakob08/moneychatbot: direct link, hf CLI and curl.
- Browser
- Download file 286 Bytes
-
https://huggingface.co/spaces/Jakob08/moneychatbot/resolve/main/src/processor/reasoning/interface.py
- Command line
-
hf download hf://spaces/Jakob08/moneychatbot/src/processor/reasoning/interface.py
-
curl -L -o interface.py https://huggingface.co/spaces/Jakob08/moneychatbot/resolve/main/src/processor/reasoning/interface.py
286 Bytes
| # | |
| # SPDX-FileCopyrightText: Hadad <hadad@linuxmail.org> | |
| # SPDX-License-Identifier: Apache-2.0 | |
| # | |
| from assets.css.animations.loading import spinner | |
| def reasoning_interfaces(text, current_length=0): | |
| return text[:current_length].replace( | |
| "<loading_animation>", spinner() | |
| ) |