Spaces:
Sleeping
Sleeping
Ashish Soni
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -20,8 +20,6 @@ def captioner(input: Image.Image) -> str:
|
|
20 |
output = get_completion(input)
|
21 |
return output[0]['generated_text']
|
22 |
|
23 |
-
gr.close_all()
|
24 |
-
|
25 |
####### GRADIO APP #######
|
26 |
title = """<h1 id="title"> Image Captioning with BLIP model </h1>"""
|
27 |
|
|
|
20 |
output = get_completion(input)
|
21 |
return output[0]['generated_text']
|
22 |
|
|
|
|
|
23 |
####### GRADIO APP #######
|
24 |
title = """<h1 id="title"> Image Captioning with BLIP model </h1>"""
|
25 |
|