Update app.py
Browse files
app.py
CHANGED
@@ -87,7 +87,7 @@ def function(prompt):
|
|
87 |
]})
|
88 |
data = response
|
89 |
data = str(data.content,"utf-8")
|
90 |
-
result = base64.b64encode(
|
91 |
result2 = result.decode('utf-8')
|
92 |
return result2
|
93 |
|
|
|
87 |
]})
|
88 |
data = response
|
89 |
data = str(data.content,"utf-8")
|
90 |
+
result = base64.b64encode(data.encode('utf-8'))
|
91 |
result2 = result.decode('utf-8')
|
92 |
return result2
|
93 |
|