fffiloni commited on
Commit
ca0ea4c
1 Parent(s): 93e6bc9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -56,11 +56,11 @@ def get_caption(image_in):
56
  return result
57
 
58
  def get_magnet(prompt):
59
- amended_prompt = f"High quality sound effects. {prompt}"
60
  print(amended_prompt)
61
  client = Client("https://fffiloni-magnet.hf.space/--replicas/oo8sb/")
62
  result = client.predict(
63
- "facebook/audio-magnet-small", # Literal['facebook/magnet-small-10secs', 'facebook/magnet-medium-10secs', 'facebook/magnet-small-30secs', 'facebook/magnet-medium-30secs', 'facebook/audio-magnet-small', 'facebook/audio-magnet-medium'] in 'Model' Radio component
64
  "", # str in 'Model Path (custom models)' Textbox component
65
  amended_prompt, # str in 'Input Text' Textbox component
66
  3, # float in 'Temperature' Number component
 
56
  return result
57
 
58
  def get_magnet(prompt):
59
+ amended_prompt = f"{prompt}"
60
  print(amended_prompt)
61
  client = Client("https://fffiloni-magnet.hf.space/--replicas/oo8sb/")
62
  result = client.predict(
63
+ "facebook/audio-magnet-medium", # Literal['facebook/magnet-small-10secs', 'facebook/magnet-medium-10secs', 'facebook/magnet-small-30secs', 'facebook/magnet-medium-30secs', 'facebook/audio-magnet-small', 'facebook/audio-magnet-medium'] in 'Model' Radio component
64
  "", # str in 'Model Path (custom models)' Textbox component
65
  amended_prompt, # str in 'Input Text' Textbox component
66
  3, # float in 'Temperature' Number component