Update app.py
Browse files
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": [
|