botsi commited on
Commit
4a906d0
·
verified ·
1 Parent(s): 765b3bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -127,13 +127,15 @@ def generate(
127
  conversation = []
128
 
129
  # Fetch query params
130
- params = {key: value for key, value in request.query_params.items()}
 
 
131
  print('those are the query params')
132
  print(params)
133
 
134
  print("Request headers dictionary:", request.headers)
135
  print("IP address:", request.client.host)
136
- print("Query parameters:", params))
137
 
138
  # Construct the input prompt using the functions from the system_prompt_config module
139
  input_prompt = construct_input_prompt(chat_history, message)
 
127
  conversation = []
128
 
129
  # Fetch query params
130
+ params = {
131
+ key: value for key, value in request.query_params.items()
132
+ }
133
  print('those are the query params')
134
  print(params)
135
 
136
  print("Request headers dictionary:", request.headers)
137
  print("IP address:", request.client.host)
138
+ print("Query parameters:", params)
139
 
140
  # Construct the input prompt using the functions from the system_prompt_config module
141
  input_prompt = construct_input_prompt(chat_history, message)