update
Browse files- server/server.py +1 -7
server/server.py
CHANGED
@@ -162,13 +162,7 @@ async def chat_endpoint(chat_message: ChatMessage):
|
|
162 |
is_death = game_state.radiation_level >= MAX_RADIATION
|
163 |
if is_death:
|
164 |
llm_response.choices = []
|
165 |
-
llm_response.story_text
|
166 |
-
"In the desolate wastelands, Sarah's journey comes to a tragic end. "
|
167 |
-
"Despite her courage and determination, the harsh environment proved "
|
168 |
-
"too formidable. Her story, though brief, was filled with bravery and "
|
169 |
-
"hope. She will be remembered as a beacon of resilience in a world "
|
170 |
-
"that had lost its way."
|
171 |
-
)
|
172 |
# Pour la mort, on ne garde qu'un seul prompt d'image
|
173 |
if len(llm_response.image_prompts) > 1:
|
174 |
llm_response.image_prompts = [llm_response.image_prompts[0]]
|
|
|
162 |
is_death = game_state.radiation_level >= MAX_RADIATION
|
163 |
if is_death:
|
164 |
llm_response.choices = []
|
165 |
+
llm_response.story_text += "Your radiation level has reached a critical point. You have succumbed to the harsh wastelands, and your journey concludes here. THE END."
|
|
|
|
|
|
|
|
|
|
|
|
|
166 |
# Pour la mort, on ne garde qu'un seul prompt d'image
|
167 |
if len(llm_response.image_prompts) > 1:
|
168 |
llm_response.image_prompts = [llm_response.image_prompts[0]]
|