Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def call_predict_api(image, private_key=None):
|
|
24 |
accumulated = ""
|
25 |
for line in response:
|
26 |
if line:
|
27 |
-
accumulated += line.decode("utf-8")
|
28 |
yield accumulated
|
29 |
|
30 |
|
|
|
24 |
accumulated = ""
|
25 |
for line in response:
|
26 |
if line:
|
27 |
+
accumulated += line.decode("utf-8")#.replace("\n", "\n\n")
|
28 |
yield accumulated
|
29 |
|
30 |
|