Thiloid commited on
Commit
cfbc154
·
verified ·
1 Parent(s): b56ec7e

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +1 -1
run.py CHANGED
@@ -111,7 +111,7 @@ def response(prompt, history, temperature=0.9, max_new_tokens=500, top_p=0.95, r
111
  url_extracted = "<div id='url'></div>" # Placeholder for URL extraction
112
 
113
  print(f"Working with URL: {url_extracted}")
114
- headers = gr.Request.headers
115
  print(headers)
116
  temperature = float(temperature)
117
  if temperature < 1e-2: temperature = 1e-2
 
111
  url_extracted = "<div id='url'></div>" # Placeholder for URL extraction
112
 
113
  print(f"Working with URL: {url_extracted}")
114
+ headers = request.headers
115
  print(headers)
116
  temperature = float(temperature)
117
  if temperature < 1e-2: temperature = 1e-2