Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def greet(prompt):
|
|
45 |
]})
|
46 |
|
47 |
if message != 500:
|
48 |
-
data =
|
49 |
data = str(data.content,"utf-8")
|
50 |
result = base64.b64encode(data.encode('utf-8'))
|
51 |
result2 = result.decode('utf-8')
|
|
|
45 |
]})
|
46 |
|
47 |
if message != 500:
|
48 |
+
data = message
|
49 |
data = str(data.content,"utf-8")
|
50 |
result = base64.b64encode(data.encode('utf-8'))
|
51 |
result2 = result.decode('utf-8')
|