Spaces:
Runtime error
Runtime error
Commit
·
bcdc97a
1
Parent(s):
b64b149
Update app.py
Browse files
app.py
CHANGED
@@ -24,9 +24,9 @@ def get_completion(inputs, parameters=None, ENDPOINT_URL="http://internal-aws-pr
|
|
24 |
return json.loads(response.content.decode("utf-8"))
|
25 |
|
26 |
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
|
31 |
def greet(name):
|
32 |
return "Hello " + name + "!!"
|
|
|
24 |
return json.loads(response.content.decode("utf-8"))
|
25 |
|
26 |
|
27 |
+
image_url = "https://free-images.com/sm/9596/dog_animal_greyhound_983023.jpg"
|
28 |
+
display(IPython.display.Image(url=image_url))
|
29 |
+
get_completion(image_url)
|
30 |
|
31 |
def greet(name):
|
32 |
return "Hello " + name + "!!"
|