Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -47,6 +47,9 @@ def respond(
|
|
47 |
token = message.choices[0].delta.content
|
48 |
response += token
|
49 |
yield response
|
|
|
|
|
|
|
50 |
|
51 |
def encode_image(image_path):
|
52 |
with open(image_path, "rb") as image_file:
|
|
|
47 |
token = message.choices[0].delta.content
|
48 |
response += token
|
49 |
yield response
|
50 |
+
|
51 |
+
print(f"{message}->{response})
|
52 |
+
|
53 |
|
54 |
def encode_image(image_path):
|
55 |
with open(image_path, "rb") as image_file:
|