Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,8 @@ def call_predict_api(image, private_key=None):
|
|
26 |
if line:
|
27 |
accumulated += line.decode("utf-8")#.replace("\n", "\n\n")
|
28 |
yield accumulated
|
29 |
-
|
|
|
30 |
|
31 |
if __name__ == "__main__":
|
32 |
iface = gr.Interface(
|
|
|
26 |
if line:
|
27 |
accumulated += line.decode("utf-8")#.replace("\n", "\n\n")
|
28 |
yield accumulated
|
29 |
+
|
30 |
+
return accumulated
|
31 |
|
32 |
if __name__ == "__main__":
|
33 |
iface = gr.Interface(
|