forked from cgvr/DeltaVR
enable continuous movement by default, move config.json to game folder
This commit is contained in:
@@ -31,7 +31,7 @@ public class InvokeAiClient : MonoBehaviour
|
||||
{
|
||||
Timeout = TimeSpan.FromSeconds(120)
|
||||
};
|
||||
httpClient.BaseAddress = new Uri(ConfigManager.Instance.Config.invokeAIUrl);
|
||||
httpClient.BaseAddress = new Uri(ConfigManager.Instance.Config.InvokeAIUrl);
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
@@ -516,7 +516,7 @@ public class InvokeAiClient : MonoBehaviour
|
||||
|
||||
public async Task<byte[]> GenerateImage(string prompt)
|
||||
{
|
||||
string modelKey = ConfigManager.Instance.Config.invokeAIModelKey;
|
||||
string modelKey = ConfigManager.Instance.Config.InvokeAIModelKey;
|
||||
string refinedPrompt = prompt + promptSuffix;
|
||||
JObject args = new JObject()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user