Remove unused image service from simple app

This commit is contained in:
Moishe Lettvin
2023-12-31 12:40:42 -05:00
parent 464ce4cfd4
commit fad73c29cf

View File

@@ -41,7 +41,7 @@ def add_bot_to_room(room_url, token, expiration) -> None:
# - AZURE_DALLE_DEPLOYMENT_ID
services = AIServiceConfig(
tts=AzureTTSService(), image=AzureImageGenService(), llm=AzureLLMService()
tts=AzureTTSService(), image=None, llm=AzureLLMService()
)
orchestrator_config = OrchestratorConfig(
@@ -64,7 +64,6 @@ def add_bot_to_room(room_url, token, expiration) -> None:
message_handler.shutdown()
services.tts.close()
services.image.close()
services.llm.close()
if __name__ == "__main__":