Spaces:
Running
Running
Update presentation_api.py
Browse files- presentation_api.py +1 -1
presentation_api.py
CHANGED
@@ -44,7 +44,7 @@ def create_slide(slideno: int, content: str) -> str:
|
|
44 |
return f"slide {slideno} created"
|
45 |
|
46 |
memory = MemorySaver()
|
47 |
-
model = ChatOpenAI(model="gpt-
|
48 |
prompt = ChatPromptTemplate.from_messages([
|
49 |
("system", """You are a Presentation Creation Assistant. Your task is to help users create effective presentations.
|
50 |
Follow these steps:
|
|
|
44 |
return f"slide {slideno} created"
|
45 |
|
46 |
memory = MemorySaver()
|
47 |
+
model = ChatOpenAI(model="gpt-4o-mini", streaming=True)
|
48 |
prompt = ChatPromptTemplate.from_messages([
|
49 |
("system", """You are a Presentation Creation Assistant. Your task is to help users create effective presentations.
|
50 |
Follow these steps:
|