there was an error on line 857
Browse files
app.py
CHANGED
@@ -854,14 +854,12 @@ def predict_full(gen_type, model, decoder, custom_model, base_model, prompt_amou
|
|
854 |
|
855 |
if gen_type == "music":
|
856 |
model_shrt = model
|
857 |
-
model = "GrandaddyShmax
|
858 |
-
-" + model
|
859 |
elif gen_type == "audio":
|
860 |
model_shrt = model
|
861 |
model = "GrandaddyShmax/audiogen-" + model
|
862 |
base_model_shrt = base_model
|
863 |
-
base_model = "GrandaddyShmax
|
864 |
-
-" + base_model
|
865 |
|
866 |
if MODEL is None or MODEL.name != (model):
|
867 |
load_model(model, custom_model, base_model, gen_type)
|
|
|
854 |
|
855 |
if gen_type == "music":
|
856 |
model_shrt = model
|
857 |
+
model = "GrandaddyShmax/-" + model
|
|
|
858 |
elif gen_type == "audio":
|
859 |
model_shrt = model
|
860 |
model = "GrandaddyShmax/audiogen-" + model
|
861 |
base_model_shrt = base_model
|
862 |
+
base_model = "GrandaddyShmax/-" + base_model
|
|
|
863 |
|
864 |
if MODEL is None or MODEL.name != (model):
|
865 |
load_model(model, custom_model, base_model, gen_type)
|