Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ ph_message="If you're not happy with sound result, you can manually describe the
|
|
12 |
|
13 |
def input_changes(input_img):
|
14 |
if input_img == None:
|
15 |
-
|
16 |
else:
|
17 |
cap = caption(input_img, fn_index=0)
|
18 |
print("gpt2 caption: '" + cap + "' β’ ")
|
|
|
12 |
|
13 |
def input_changes(input_img):
|
14 |
if input_img == None:
|
15 |
+
pass
|
16 |
else:
|
17 |
cap = caption(input_img, fn_index=0)
|
18 |
print("gpt2 caption: '" + cap + "' β’ ")
|