kidwaiaun commited on
Commit
9381272
·
verified ·
1 Parent(s): 8d4aab4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -41,8 +41,8 @@ def tab3_content():
41
  formatted_output = ""
42
  for task, details in data.items():
43
  formatted_output += f"<h3>{task.replace('_', ' ').title()}</h3>"
44
- formatted_output += f"<strong>Description:</strong> {details['description'].replace('\n', '')}<br>"
45
- formatted_output += f"<strong>Expected Output:</strong> {details['expected_output'].replace('\n', '')}<br><br>"
46
  return formatted_output
47
  except Exception as e:
48
  return f"Error: {str(e)}"
 
41
  formatted_output = ""
42
  for task, details in data.items():
43
  formatted_output += f"<h3>{task.replace('_', ' ').title()}</h3>"
44
+ formatted_output += f"<strong>Description:</strong> {details['description']}<br>"
45
+ formatted_output += f"<strong>Expected Output:</strong> {details['expected_output']}<br><br>"
46
  return formatted_output
47
  except Exception as e:
48
  return f"Error: {str(e)}"