Spaces:
Running
Running
| # | |
| # 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() | |
| ) |