|
@@ -134,8 +134,8 @@ def inputMsg():
|
|
|
|
|
|
try:
|
|
try:
|
|
res = ollama.generate(
|
|
res = ollama.generate(
|
|
-
|
|
+ model="qwen2:7b",
|
|
- model="gemma2:27b",
|
|
+
|
|
stream=False,
|
|
stream=False,
|
|
prompt=prompt,
|
|
prompt=prompt,
|
|
options={"temperature": 0},
|
|
options={"temperature": 0},
|
|
@@ -222,7 +222,7 @@ def jsonResToDict(json_res):
|
|
"spatial_type": conditionObj["spatial_type"],
|
|
"spatial_type": conditionObj["spatial_type"],
|
|
"default": factor["condition"],
|
|
"default": factor["condition"],
|
|
"hasValue": conditionObj["hasValue"],
|
|
"hasValue": conditionObj["hasValue"],
|
|
- "defaultValue": factor["value"],
|
|
+ "defaultValue": str(factor["value"]),
|
|
"unit": conditionObj["unit"],
|
|
"unit": conditionObj["unit"],
|
|
"clip": conditionObj["clip"]
|
|
"clip": conditionObj["clip"]
|
|
}
|
|
}
|