Spaces:
Running
Running
Update README.md
Browse files
README.md
CHANGED
@@ -37,6 +37,4 @@ with open("test_image.jpg", "rb") as f:
|
|
37 |
image_bytes = f.read()
|
38 |
base64_image = f"data:image/jpeg;base64,{base64.b64encode(image_bytes).decode()}"
|
39 |
response = requests.post(api_url, json={"data": [base64_image]})
|
40 |
-
print(response.json()["data"][0])
|
41 |
-
|
42 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
37 |
image_bytes = f.read()
|
38 |
base64_image = f"data:image/jpeg;base64,{base64.b64encode(image_bytes).decode()}"
|
39 |
response = requests.post(api_url, json={"data": [base64_image]})
|
40 |
+
print(response.json()["data"][0])
|
|
|
|