Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ def Image_to_caption(image,url, greedy = True, model = model_raw):
|
|
40 |
if words.startswith("#"):
|
41 |
list1.append(words)
|
42 |
|
43 |
-
return list1
|
44 |
|
45 |
|
46 |
|
|
|
40 |
if words.startswith("#"):
|
41 |
list1.append(words)
|
42 |
|
43 |
+
return '\n'.join(list1)
|
44 |
|
45 |
|
46 |
|