client ip
Browse files- TextGen/router.py +1 -0
TextGen/router.py
CHANGED
@@ -183,6 +183,7 @@ def story(prompt: Invoke):
|
|
183 |
@app.post("/generate_level")
|
184 |
def placement(input: Rooms, request: Request):
|
185 |
client_ip = request.client.host
|
|
|
186 |
print(input)
|
187 |
markdown_map=generate_map_markdown(input.rooms,input.room_of_interest,input.index_exit)
|
188 |
story=generate_story(input.possible_entities)
|
|
|
183 |
@app.post("/generate_level")
|
184 |
def placement(input: Rooms, request: Request):
|
185 |
client_ip = request.client.host
|
186 |
+
print("client_ip : ",client_ip)
|
187 |
print(input)
|
188 |
markdown_map=generate_map_markdown(input.rooms,input.room_of_interest,input.index_exit)
|
189 |
story=generate_story(input.possible_entities)
|