INNER CODE UNIT · Python

convert_special_letters

shakedzy/companion · companion.py:31

def convert_special_letters(input_str):
    return unidecode(input_str)


@app.route('/')
def home():
    """
    Homepage of web UI
    """
    global memory, chatbot, config

    should_restart = bool(request.args.get('restart', 0))
    if should_restart:
        restart()

    memory = Memory()
    try:
        chatbot = Chatbot(config=config, memory=memory)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…