Cachoups commited on
Commit
ead1b81
·
verified ·
1 Parent(s): e535008

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -138,10 +138,10 @@ def respond(
138
  temperature,
139
  top_p,
140
  ):
141
- #new_query = ra(message)
142
- #print("old: ",new_query)
143
- #new_query = str(new_query.split("Output: ", 1)[-1] if "Output: " in new_query else new_query)
144
- #print("new: ",new_query)
145
  system_message = f"""
146
  You are an expert in League of Legends (LoL) lore. You will only answer questions related to the champions and their stories within the game.
147
 
 
138
  temperature,
139
  top_p,
140
  ):
141
+ new_query = ra(message)
142
+ print("old: ",new_query)
143
+ new_query = str(new_query.split("Output: ", 1)[-1] if "Output: " in new_query else new_query)
144
+ print("new: ",new_query)
145
  system_message = f"""
146
  You are an expert in League of Legends (LoL) lore. You will only answer questions related to the champions and their stories within the game.
147