Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -83,7 +83,7 @@ def inference(input_img,strategy,language):
|
|
| 83 |
else:
|
| 84 |
return str(cap[0])
|
| 85 |
|
| 86 |
-
|
| 87 |
description = "A pipeline of BLIP image captioning and Helsinki translation in order to generate image captions in a language of your choice either with beam search (deterministic) or nucleus sampling (stochastic). Enjoy! Is the language you want to use missing? Let me know and I'll integrate it."
|
| 88 |
|
| 89 |
|
|
|
|
| 83 |
else:
|
| 84 |
return str(cap[0])
|
| 85 |
|
| 86 |
+
print("HI")
|
| 87 |
description = "A pipeline of BLIP image captioning and Helsinki translation in order to generate image captions in a language of your choice either with beam search (deterministic) or nucleus sampling (stochastic). Enjoy! Is the language you want to use missing? Let me know and I'll integrate it."
|
| 88 |
|
| 89 |
|