Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -72,14 +72,14 @@ def diagnose_router(image):
|
|
72 |
<em>Expected Outcome:</em> {step_data['Expected Outcome']}</li>
|
73 |
"""
|
74 |
|
75 |
-
html_output += f"""
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
"""
|
83 |
|
84 |
|
85 |
return html_output
|
|
|
72 |
<em>Expected Outcome:</em> {step_data['Expected Outcome']}</li>
|
73 |
"""
|
74 |
|
75 |
+
html_output += f"""
|
76 |
+
<h3>Recommended Actions</h3>
|
77 |
+
<ul>
|
78 |
+
<li><strong>Immediate Action:</strong> {result['Recommended_Actions']['Immediate_Action']}</li>
|
79 |
+
<li><strong>If Unresolved:</strong> {result['Recommended_Actions']['If_Unresolved']}</li>
|
80 |
+
<li><strong>Preventative Measure:</strong> {result['Recommended_Actions']['Preventative_Measure']}</li>
|
81 |
+
</ul>
|
82 |
+
"""
|
83 |
|
84 |
|
85 |
return html_output
|