Deploying difficulties for my ConversationalAI

This is a app with a conversational ai, so you can talk to him and he will answer.

  1. Are you running your app locally or is it deployed?
    When i ran it locally everything worked as wanted, but as soon as i wanted to deploy i run into error
  2. Share the link to your app’s public GitHub repository (including a requirements file).
    MaxaroProjects/VoiceBot/ at main · BenjaminGraziadei223946/MaxaroProjects (
  3. Share the full text of the error message (not a screenshot).
    RuntimeError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you’re on Streamlit Cloud, click on ‘Manage app’ in the lower right of your app).


File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/", line 552, in _run_script
    exec(code, module.__dict__)File "/mount/src/maxaroprojects/VoiceBot/", line 28, in <module>
    speech_synthesizer = speechsdk.SpeechSynthesizer(speech_config=speech_config)File "/home/adminuser/venv/lib/python3.9/site-packages/azure/cognitiveservices/speech/", line 2149, in __init__
    _call_hr_fn(fn=_sdk_lib.synthesizer_create_speech_synthesizer_from_config, *[File "/home/adminuser/venv/lib/python3.9/site-packages/azure/cognitiveservices/speech/", line 62, in _call_hr_fn
    _raise_if_failed(hr)File "/home/adminuser/venv/lib/python3.9/site-packages/azure/cognitiveservices/speech/", line 55, in _raise_if_failed
    __try_get_error(_spx_handle(hr))File "/home/adminuser/venv/lib/python3.9/site-packages/azure/cognitiveservices/speech/", line 50, in __try_get_error
    raise RuntimeError(message)
  1. Share the Streamlit and Python versions.

it seems the error only arises when trying to initialize the SpeechSynthesizer, but setting the configurations is no problem.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.