zeeshan391 commited on
Commit
f049b71
·
verified ·
1 Parent(s): bed1a2d
Files changed (1) hide show
  1. app.py +2 -2
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(formatted_text)
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