Spaces:
Sleeping
Sleeping
updated
Browse files
app.py
CHANGED
@@ -105,9 +105,9 @@ async def generate_story(story_request: StoryRequest):
|
|
105 |
formatted_prompt = prompt.format(messages=[HumanMessage(content=story)])
|
106 |
|
107 |
# Extract the raw string from the `ChatPromptValue`
|
108 |
-
formatted_text = formatted_prompt.to_string()
|
109 |
|
110 |
-
response = llm(
|
111 |
|
112 |
# final_prompt = prompt_template.format(text=story)
|
113 |
|
|
|
105 |
formatted_prompt = prompt.format(messages=[HumanMessage(content=story)])
|
106 |
|
107 |
# Extract the raw string from the `ChatPromptValue`
|
108 |
+
# formatted_text = formatted_prompt.to_string()
|
109 |
|
110 |
+
response = llm(formatted_prompt)
|
111 |
|
112 |
# final_prompt = prompt_template.format(text=story)
|
113 |
|