fffiloni commited on
Commit
838b619
1 Parent(s): a384cce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -138,6 +138,7 @@ def get_tango(prompt):
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
 
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