abhidgp1978 commited on
Commit
4acff5e
·
verified ·
1 Parent(s): 15a196a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -72,11 +72,12 @@ def recommend_channels(product_description):
72
 
73
  for channel, score in ranked_channels:
74
  note = channels[channel]
75
- output += f"**{channel} ({score:.2f})** → {note}\n"
76
 
77
  accounts = search_accounts(product_description, channel)
78
  for (name, url) in accounts:
79
- output += f"{name}\nURL: {url}\n\n"
 
80
 
81
  return output
82
 
 
72
 
73
  for channel, score in ranked_channels:
74
  note = channels[channel]
75
+ output += f"**{channel} ({score:.2f})** → {note} \n" # two spaces → line break
76
 
77
  accounts = search_accounts(product_description, channel)
78
  for (name, url) in accounts:
79
+ output += f"{name} \nURL: {url} \n\n" # forced line breaks
80
+ output += "\n"
81
 
82
  return output
83