Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -138,9 +138,7 @@ def explain_results(structured_message):
|
|
| 138 |
prompt = (
|
| 139 |
"You are an engineering tutor. Read the structured calculation JSON and produce a clear, concise explanation for a non-expert.\n"
|
| 140 |
"Goals:\n"
|
| 141 |
-
"- This tool calculates pressure loss in a straight pipe using the Darcy-Weisbach equation. It assumes steady, incompressible, Newtonian fluid flow in a horizontal pipe and calculates friction based on flow regime (laminar or turbulent)
|
| 142 |
-
|
| 143 |
-
"
|
| 144 |
"- Highlight the formulas and what they mean physically.\n"
|
| 145 |
"- Interpret the Reynolds number and friction factor.\n"
|
| 146 |
"- Explain head loss and pressure drop magnitudes and practical implications.\n"
|
|
|
|
| 138 |
prompt = (
|
| 139 |
"You are an engineering tutor. Read the structured calculation JSON and produce a clear, concise explanation for a non-expert.\n"
|
| 140 |
"Goals:\n"
|
| 141 |
+
"- This tool calculates pressure loss in a straight pipe using the Darcy-Weisbach equation. It assumes steady, incompressible, Newtonian fluid flow in a horizontal pipe and calculates friction based on flow regime (laminar or turbulent).\n\n" # Fixed escaping
|
|
|
|
|
|
|
| 142 |
"- Highlight the formulas and what they mean physically.\n"
|
| 143 |
"- Interpret the Reynolds number and friction factor.\n"
|
| 144 |
"- Explain head loss and pressure drop magnitudes and practical implications.\n"
|