Spaces:
Running
Running
added access to advisor name for context
Browse files
app.py
CHANGED
@@ -98,6 +98,7 @@ async def send_message(message: Message):
|
|
98 |
else:
|
99 |
raise FileNotFoundError(f"Round context file not found: {file_path}")
|
100 |
|
|
|
101 |
# Add user message to history
|
102 |
|
103 |
if message.message != "":
|
@@ -160,7 +161,7 @@ async def send_message(message: Message):
|
|
160 |
|
161 |
if is_ending:
|
162 |
process_ending(idea_is_accepted, game_number, idea)
|
163 |
-
|
164 |
world_graph = WorldGraph(f'games/game_{game_number}/world_graph.edgelist')
|
165 |
dico_world = world_graph.push_data_to_front()
|
166 |
|
|
|
98 |
else:
|
99 |
raise FileNotFoundError(f"Round context file not found: {file_path}")
|
100 |
|
101 |
+
advisor = advisor_full.split('.')[0]
|
102 |
# Add user message to history
|
103 |
|
104 |
if message.message != "":
|
|
|
161 |
|
162 |
if is_ending:
|
163 |
process_ending(idea_is_accepted, game_number, idea)
|
164 |
+
|
165 |
world_graph = WorldGraph(f'games/game_{game_number}/world_graph.edgelist')
|
166 |
dico_world = world_graph.push_data_to_front()
|
167 |
|