fffiloni commited on
Commit
94a1c5b
·
verified ·
1 Parent(s): 1f28ca8

Cleans infer docs

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -196,11 +196,7 @@ def infer(image_in, chosen_model):
196
 
197
  Returns:
198
  str | dict: The path or result object of the generated audio clip, depending on the model used.
199
- If the model returns a list or a URL, the function provides that as output.
200
 
201
- Example usage:
202
- >>> infer("cat.png", "AudioLDM-2")
203
- "outputs/audio/cat_sfx.wav"
204
  """
205
  caption = get_caption_from_kosmos(image_in)
206
  if chosen_model == "MAGNet" :
 
196
 
197
  Returns:
198
  str | dict: The path or result object of the generated audio clip, depending on the model used.
 
199
 
 
 
 
200
  """
201
  caption = get_caption_from_kosmos(image_in)
202
  if chosen_model == "MAGNet" :