tommy24 commited on
Commit
6e87ead
·
1 Parent(s): efaafff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def function(paramater):
16
  response = json.loads(response.text)
17
  image = requests.get(response["url"], headers=payload)
18
  image = image.content
19
- image = base64.b64encode(image).decode('utf-8')
20
 
21
  response = requests.post("https://tommy24-this-is-indeed-cool.hf.space/run/predict", json={
22
  "data": [
 
16
  response = json.loads(response.text)
17
  image = requests.get(response["url"], headers=payload)
18
  image = image.content
19
+ # image = base64.b64encode(image).decode('utf-8')
20
 
21
  response = requests.post("https://tommy24-this-is-indeed-cool.hf.space/run/predict", json={
22
  "data": [