Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ def get_magnet(prompt):
|
|
77 |
|
78 |
client = Client("https://fffiloni-magnet.hf.space/")
|
79 |
result = client.predict(
|
80 |
-
"facebook/magnet-
|
81 |
"", # str in 'Model Path (custom models)' Textbox component
|
82 |
prompt, # str in 'Input Text' Textbox component
|
83 |
3, # float in 'Temperature' Number component
|
|
|
77 |
|
78 |
client = Client("https://fffiloni-magnet.hf.space/")
|
79 |
result = client.predict(
|
80 |
+
"facebook/magnet-small-10secs", # 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
|
81 |
"", # str in 'Model Path (custom models)' Textbox component
|
82 |
prompt, # str in 'Input Text' Textbox component
|
83 |
3, # float in 'Temperature' Number component
|