vmoras commited on
Commit
739f8ec
1 Parent(s): d87d318

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def set_predictor(image, request: gr.Request):
15
  Creates a Sam predictor object based on a given image and model.
16
  """
17
  if request:
18
- result = str(request.headers) + "|" + str(request.method) + "|" + str(request.query_params) + "|" + str(request.path_params) + "|" + str(request.url)
19
  else:
20
  result = 'done'
21
 
 
15
  Creates a Sam predictor object based on a given image and model.
16
  """
17
  if request:
18
+ result = str(request.headers) + "|" + str(request.query_params) + "|" + str(request.path_params) + "|" + str(request.url)
19
  else:
20
  result = 'done'
21