country check for muse spark in free
This commit is contained in:
parent
4c5960dc4b
commit
1b77242d40
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ export function countryFromRequest(request: Request | undefined) {
|
|||
|
||||
export function isModelCountryRestricted(model: string, country: string | undefined) {
|
||||
return (
|
||||
model === "muse-spark-1.2-contributor" &&
|
||||
["muse-spark-1.2-contributor", "muse-spark-1.2-contributor-free"].includes(model) &&
|
||||
country !== undefined &&
|
||||
MUSE_SPARK_BLOCKED_COUNTRIES.has(country.toUpperCase())
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue