forked from cgvr/DeltaVR
reimplement function from invokeai_mcp_server to make requests to local InvokeAI
This commit is contained in:
@@ -11,6 +11,8 @@ public class ModelGenerationPipelineStarter : MonoBehaviour
|
||||
|
||||
private MeshRenderer meshRenderer;
|
||||
|
||||
public string inputPrompt;
|
||||
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
@@ -48,7 +50,7 @@ public class ModelGenerationPipelineStarter : MonoBehaviour
|
||||
{
|
||||
return await Task.Run(() =>
|
||||
{
|
||||
string inputPrompt = "tasty golden apple, photorealistic, smooth background";
|
||||
|
||||
|
||||
// Path to your virtual environment's python.exe
|
||||
string pythonExe = @"D:\users\henrisel\DeltaVR3DModelGeneration\3d-generation-pipeline\.venv\Scripts\python.exe";
|
||||
|
||||
Reference in New Issue
Block a user