Spaces:
Runtime error
Runtime error
File size: 299 Bytes
489b65b d2b20f2 489b65b d2b20f2 489b65b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
import time
from utils.logger import logger
def stream_chat_mock(*args, **kwargs):
logger.note(msg=str(args) + str(kwargs))
for i in range(10):
content = f"W{i+1} "
time.sleep(0.1)
logger.mesg(content, end="")
yield content
logger.mesg("")
yield ""
|