Update BossAI workflow and workspace experience
This commit is contained in:
+6
-1
@@ -76,6 +76,7 @@ pub enum ComfyUIBackend {
|
||||
Boosapi,
|
||||
External,
|
||||
Cloud,
|
||||
Runninghub,
|
||||
Docker,
|
||||
}
|
||||
|
||||
@@ -111,7 +112,7 @@ impl ComfyUIConfig {
|
||||
pub fn uses_native_backend(&self) -> bool {
|
||||
matches!(
|
||||
self.backend,
|
||||
ComfyUIBackend::External | ComfyUIBackend::Cloud
|
||||
ComfyUIBackend::External | ComfyUIBackend::Cloud | ComfyUIBackend::Runninghub
|
||||
)
|
||||
}
|
||||
|
||||
@@ -119,6 +120,10 @@ impl ComfyUIConfig {
|
||||
matches!(self.backend, ComfyUIBackend::Cloud)
|
||||
}
|
||||
|
||||
pub fn uses_runninghub_backend(&self) -> bool {
|
||||
matches!(self.backend, ComfyUIBackend::Runninghub)
|
||||
}
|
||||
|
||||
pub fn uses_docker_backend(&self) -> bool {
|
||||
matches!(self.backend, ComfyUIBackend::Docker)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user