mirror of
https://github.com/deepseek-ai/DreamCraft3D
synced 2025-03-10 13:50:22 +00:00
18 lines
482 B
Python
18 lines
482 B
Python
import json
|
|
import os
|
|
from dataclasses import dataclass
|
|
|
|
import threestudio
|
|
from threestudio.models.prompt_processors.base import PromptProcessor, hash_prompt
|
|
from threestudio.utils.misc import cleanup
|
|
from threestudio.utils.typing import *
|
|
|
|
|
|
@threestudio.register("dummy-prompt-processor")
|
|
class DummyPromptProcessor(PromptProcessor):
|
|
@dataclass
|
|
class Config(PromptProcessor.Config):
|
|
pretrained_model_name_or_path: str = ""
|
|
prompt: str = ""
|
|
|
|
cfg: Config |