Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def get_magnet(prompt):
|
|
50 |
client = Client("https://fffiloni-magnet.hf.space/--replicas/oo8sb/")
|
51 |
result = client.predict(
|
52 |
"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
|
53 |
-
|
54 |
amended_prompt, # str in 'Input Text' Textbox component
|
55 |
3, # float in 'Temperature' Number component
|
56 |
0.9, # float in 'Top-p' Number component
|
|
|
50 |
client = Client("https://fffiloni-magnet.hf.space/--replicas/oo8sb/")
|
51 |
result = client.predict(
|
52 |
"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
|
53 |
+
"", # str in 'Model Path (custom models)' Textbox component
|
54 |
amended_prompt, # str in 'Input Text' Textbox component
|
55 |
3, # float in 'Temperature' Number component
|
56 |
0.9, # float in 'Top-p' Number component
|