Spaces:
Runtime error
Runtime error
Commit
·
5babb7c
1
Parent(s):
e952b18
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def get_completion(inputs, parameters=None, ENDPOINT_URL="http://internal-aws-pr
|
|
24 |
return json.loads(response.content.decode("utf-8"))
|
25 |
|
26 |
image_url = "https://free-images.com/sm/9596/dog_animal_greyhound_983023.jpg"
|
27 |
-
demo = gr.
|
28 |
|
29 |
def image_to_base64_str(pil_image):
|
30 |
byte_arr = io.BytesIO()
|
|
|
24 |
return json.loads(response.content.decode("utf-8"))
|
25 |
|
26 |
image_url = "https://free-images.com/sm/9596/dog_animal_greyhound_983023.jpg"
|
27 |
+
demo = gr.TextBox(get_completion(image_url))
|
28 |
|
29 |
def image_to_base64_str(pil_image):
|
30 |
byte_arr = io.BytesIO()
|