@@ -36,7 +36,7 @@ async def main(room_url):
|
|||||||
)
|
)
|
||||||
|
|
||||||
llm = OpenAILLMService(
|
llm = OpenAILLMService(
|
||||||
api_key=os.getenv("OPENAI_CHATGPT_API_KEY"),
|
api_key=os.getenv("OPENAI_API_KEY"),
|
||||||
model="gpt-4-turbo-preview")
|
model="gpt-4-turbo-preview")
|
||||||
|
|
||||||
messages = [
|
messages = [
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ async def main(room_url):
|
|||||||
)
|
)
|
||||||
|
|
||||||
llm = OpenAILLMService(
|
llm = OpenAILLMService(
|
||||||
api_key=os.getenv("OPENAI_CHATGPT_API_KEY"),
|
api_key=os.getenv("OPENAI_API_KEY"),
|
||||||
model="gpt-4-turbo-preview")
|
model="gpt-4-turbo-preview")
|
||||||
|
|
||||||
imagegen = FalImageGenService(
|
imagegen = FalImageGenService(
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ async def main(room_url):
|
|||||||
)
|
)
|
||||||
|
|
||||||
llm = OpenAILLMService(
|
llm = OpenAILLMService(
|
||||||
api_key=os.getenv("OPENAI_CHATGPT_API_KEY"),
|
api_key=os.getenv("OPENAI_API_KEY"),
|
||||||
model="gpt-4-turbo-preview")
|
model="gpt-4-turbo-preview")
|
||||||
|
|
||||||
dalle = FalImageGenService(
|
dalle = FalImageGenService(
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ async def main(room_url: str, token):
|
|||||||
)
|
)
|
||||||
|
|
||||||
llm = OpenAILLMService(
|
llm = OpenAILLMService(
|
||||||
api_key=os.getenv("OPENAI_CHATGPT_API_KEY"),
|
api_key=os.getenv("OPENAI_API_KEY"),
|
||||||
model="gpt-4-turbo-preview")
|
model="gpt-4-turbo-preview")
|
||||||
fl = FrameLogger("Inner")
|
fl = FrameLogger("Inner")
|
||||||
fl2 = FrameLogger("Outer")
|
fl2 = FrameLogger("Outer")
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ async def main(room_url: str, token):
|
|||||||
)
|
)
|
||||||
|
|
||||||
llm = OpenAILLMService(
|
llm = OpenAILLMService(
|
||||||
api_key=os.getenv("OPENAI_CHATGPT_API_KEY"),
|
api_key=os.getenv("OPENAI_API_KEY"),
|
||||||
model="gpt-4-turbo-preview")
|
model="gpt-4-turbo-preview")
|
||||||
|
|
||||||
img = FalImageGenService(
|
img = FalImageGenService(
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ async def main(room_url: str, token):
|
|||||||
)
|
)
|
||||||
|
|
||||||
llm = OpenAILLMService(
|
llm = OpenAILLMService(
|
||||||
api_key=os.getenv("OPENAI_CHATGPT_API_KEY"),
|
api_key=os.getenv("OPENAI_API_KEY"),
|
||||||
model="gpt-4-turbo-preview")
|
model="gpt-4-turbo-preview")
|
||||||
|
|
||||||
pipeline = Pipeline([FrameLogger(), llm, FrameLogger(), tts])
|
pipeline = Pipeline([FrameLogger(), llm, FrameLogger(), tts])
|
||||||
|
|||||||
@@ -135,7 +135,7 @@ async def main(room_url: str, token):
|
|||||||
transport._camera_height = 1280
|
transport._camera_height = 1280
|
||||||
|
|
||||||
llm = OpenAILLMService(
|
llm = OpenAILLMService(
|
||||||
api_key=os.getenv("OPENAI_CHATGPT_API_KEY"),
|
api_key=os.getenv("OPENAI_API_KEY"),
|
||||||
model="gpt-4-turbo-preview")
|
model="gpt-4-turbo-preview")
|
||||||
|
|
||||||
tts = ElevenLabsTTSService(
|
tts = ElevenLabsTTSService(
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ async def main(room_url: str, token):
|
|||||||
)
|
)
|
||||||
|
|
||||||
llm = OpenAILLMService(
|
llm = OpenAILLMService(
|
||||||
api_key=os.getenv("OPENAI_CHATGPT_API_KEY"),
|
api_key=os.getenv("OPENAI_API_KEY"),
|
||||||
model="gpt-4-turbo-preview")
|
model="gpt-4-turbo-preview")
|
||||||
|
|
||||||
tts = ElevenLabsTTSService(
|
tts = ElevenLabsTTSService(
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ async def main(room_url: str, token):
|
|||||||
)
|
)
|
||||||
|
|
||||||
llm = OpenAILLMService(
|
llm = OpenAILLMService(
|
||||||
api_key=os.getenv("OPENAI_CHATGPT_API_KEY"),
|
api_key=os.getenv("OPENAI_API_KEY"),
|
||||||
model="gpt-4-turbo-preview")
|
model="gpt-4-turbo-preview")
|
||||||
|
|
||||||
ta = TalkingAnimation()
|
ta = TalkingAnimation()
|
||||||
|
|||||||
@@ -310,7 +310,7 @@ async def main(room_url: str, token):
|
|||||||
messages = []
|
messages = []
|
||||||
|
|
||||||
llm = OpenAILLMService(
|
llm = OpenAILLMService(
|
||||||
api_key=os.getenv("OPENAI_CHATGPT_API_KEY"),
|
api_key=os.getenv("OPENAI_API_KEY"),
|
||||||
model="gpt-4-1106-preview",
|
model="gpt-4-1106-preview",
|
||||||
)
|
)
|
||||||
# tts = DeepgramTTSService(
|
# tts = DeepgramTTSService(
|
||||||
|
|||||||
@@ -203,7 +203,7 @@ async def main(room_url: str, token):
|
|||||||
story = []
|
story = []
|
||||||
|
|
||||||
llm = OpenAILLMService(
|
llm = OpenAILLMService(
|
||||||
api_key=os.getenv("OPENAI_CHATGPT_API_KEY"),
|
api_key=os.getenv("OPENAI_API_KEY"),
|
||||||
model="gpt-4-1106-preview",
|
model="gpt-4-1106-preview",
|
||||||
) # gpt-4-1106-preview
|
) # gpt-4-1106-preview
|
||||||
tts = ElevenLabsTTSService(
|
tts = ElevenLabsTTSService(
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ async def main(room_url: str, token):
|
|||||||
voice="es-ES-AlvaroNeural",
|
voice="es-ES-AlvaroNeural",
|
||||||
)
|
)
|
||||||
llm = OpenAILLMService(
|
llm = OpenAILLMService(
|
||||||
api_key=os.getenv("OPENAI_CHATGPT_API_KEY"),
|
api_key=os.getenv("OPENAI_API_KEY"),
|
||||||
model="gpt-4-turbo-preview")
|
model="gpt-4-turbo-preview")
|
||||||
sa = SentenceAggregator()
|
sa = SentenceAggregator()
|
||||||
tp = TranslationProcessor("Spanish")
|
tp = TranslationProcessor("Spanish")
|
||||||
|
|||||||
Reference in New Issue
Block a user