Spaces:
Sleeping
Sleeping
Commit
·
55727a2
1
Parent(s):
702f936
test
Browse files- app.py +2 -2
- utils/llm.py +1 -1
app.py
CHANGED
@@ -24,8 +24,8 @@ LIGHT_POWER = 6 # Watts per light
|
|
24 |
def initialize_session_state():
|
25 |
"""Initialize session state variables"""
|
26 |
defaults = {
|
27 |
-
"solar_panels":
|
28 |
-
"batteries":
|
29 |
"panel_price": 13000,
|
30 |
"battery_price": 39000,
|
31 |
"grid_price": 28.44,
|
|
|
24 |
def initialize_session_state():
|
25 |
"""Initialize session state variables"""
|
26 |
defaults = {
|
27 |
+
"solar_panels": 100,
|
28 |
+
"batteries": 50,
|
29 |
"panel_price": 13000,
|
30 |
"battery_price": 39000,
|
31 |
"grid_price": 28.44,
|
utils/llm.py
CHANGED
@@ -59,4 +59,4 @@ def summary_generation(scenario_results: Any) -> Tuple:
|
|
59 |
content = tokenizer.decode(output_ids[index:], skip_special_tokens=True).strip("\n")
|
60 |
|
61 |
loguru.info(f"thinking content:", {thinking_content})
|
62 |
-
|
|
|
59 |
content = tokenizer.decode(output_ids[index:], skip_special_tokens=True).strip("\n")
|
60 |
|
61 |
loguru.info(f"thinking content:", {thinking_content})
|
62 |
+
return ("content:", content)
|