Skip to content

Commit e533e14

Browse files
author
onion
committed
feat: add lora support
1 parent 8af3c06 commit e533e14

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package com.onion.model
2+
3+
import kotlinx.serialization.Serializable
4+
import kotlin.random.Random
5+
6+
@Serializable
7+
data class LoraConfig(
8+
val id: String = Random.nextLong().toString(),
9+
val path: String,
10+
val name: String,
11+
var strength: Float = 1.0f,
12+
var isEnabled: Boolean = true
13+
)

0 commit comments

Comments
 (0)