Thiloid commited on
Commit
c78ab4d
·
verified ·
1 Parent(s): dc9daed

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +1 -1
run.py CHANGED
@@ -95,7 +95,7 @@ def format_prompt(message, history):
95
  print(prompt)
96
  return prompt
97
 
98
- def response(prompt, history, temperature=0.9, max_new_tokens=500, top_p=0.95, repetition_penalty=1.0,request: gr.Request):
99
  global_url = "" # Initialize URL variable
100
  # JavaScript code to extract URL from the browser
101
  js_code = """
 
95
  print(prompt)
96
  return prompt
97
 
98
+ def response(request: gr.Request,prompt, history, temperature=0.9, max_new_tokens=500, top_p=0.95, repetition_penalty=1.0):
99
  global_url = "" # Initialize URL variable
100
  # JavaScript code to extract URL from the browser
101
  js_code = """