yasserrmd commited on
Commit
f3dd11f
1 Parent(s): 76f08bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -10
app.py CHANGED
@@ -72,17 +72,15 @@ def diagnose_router(image):
72
  <em>Expected Outcome:</em> {step_data['Expected Outcome']}</li>
73
  """
74
 
75
- html_output += """
76
- </ol>
 
 
 
 
 
 
77
 
78
- <h3>Recommended Actions</h3>
79
- <ul>
80
- <li><strong>Immediate Action:</strong> {result['Recommended_Actions']['Immediate_Action']}</li>
81
- <li><strong>If Unresolved:</strong> {result['Recommended_Actions']['If_Unresolved']}</li>
82
- <li><strong>Preventative Measure:</strong> {result['Recommended_Actions']['Preventative_Measure']}</li>
83
- </ul>
84
- </div>
85
- """
86
 
87
  return html_output
88
 
 
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
86