Update TextGen/router.py
Browse files- TextGen/router.py +1 -1
TextGen/router.py
CHANGED
@@ -181,7 +181,7 @@ def story(prompt: Invoke):
|
|
181 |
@app.post("/generate_level")
|
182 |
def placement(input: Rooms):
|
183 |
print(input)
|
184 |
-
markdown_map=generate_map_markdown(input)
|
185 |
story=generate_story(input.possible_entities)
|
186 |
print(story)
|
187 |
placements=place_objects(input.possible_entities,story,markdown_map)
|
|
|
181 |
@app.post("/generate_level")
|
182 |
def placement(input: Rooms):
|
183 |
print(input)
|
184 |
+
markdown_map=generate_map_markdown(input.rooms,input.room_of_interest,input.index_exit)
|
185 |
story=generate_story(input.possible_entities)
|
186 |
print(story)
|
187 |
placements=place_objects(input.possible_entities,story,markdown_map)
|