rwitz commited on
Commit
3f0dbd7
1 Parent(s): bb4f1f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -92,8 +92,8 @@ import aiohttp
92
  import asyncio
93
  from tenacity import retry, stop_after_attempt, wait_exponential
94
 
95
- async def get_bot_response(adapter_id, prompt, state, bot_index, character_name, character_description):
96
- prompt = format_prompt(state, bot_index, character_name, character_description)
97
 
98
  fireworks_adapter_name = next(entry['fireworks_adapter_name'] for entry in chatbots_data if entry['adapter'] == adapter_id)
99
 
 
92
  import asyncio
93
  from tenacity import retry, stop_after_attempt, wait_exponential
94
 
95
+ async def get_bot_response(adapter_id, prompt, state, bot_index, character_name, character_description, user_name):
96
+ prompt = format_prompt(state, bot_index, character_name, character_description, user_name)
97
 
98
  fireworks_adapter_name = next(entry['fireworks_adapter_name'] for entry in chatbots_data if entry['adapter'] == adapter_id)
99