bako96 commited on
Commit
5091c6d
·
verified ·
1 Parent(s): 1ced37d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def get_youtube_channel_info(channel_name: str) -> str:
29
  top_result = search_results[0] # Get the first result
30
  print("type *** ", type(top_result))
31
  print(f"Top search result: {top_result}") # Debug print statement
32
- return f"Top search result for '{channel_name}': {search_results[0:3]}"
33
  else:
34
  print(f"No results found for '{channel_name}'.") # Debug print statement
35
  return f"No information found for YouTube channel '{channel_name}'."
 
29
  top_result = search_results[0] # Get the first result
30
  print("type *** ", type(top_result))
31
  print(f"Top search result: {top_result}") # Debug print statement
32
+ return f"Top search result for '{channel_name}': {top_result}"
33
  else:
34
  print(f"No results found for '{channel_name}'.") # Debug print statement
35
  return f"No information found for YouTube channel '{channel_name}'."