Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -138,7 +138,6 @@ def get_tango(prompt):
|
|
138 |
|
139 |
def infer(image_in, chosen_model):
|
140 |
caption = get_caption(image_in)
|
141 |
-
caption = f"the sound of {caption}"
|
142 |
if chosen_model == "MAGNet" :
|
143 |
magnet_result = get_magnet(caption)
|
144 |
return magnet_result
|
|
|
138 |
|
139 |
def infer(image_in, chosen_model):
|
140 |
caption = get_caption(image_in)
|
|
|
141 |
if chosen_model == "MAGNet" :
|
142 |
magnet_result = get_magnet(caption)
|
143 |
return magnet_result
|