bako96 commited on
Commit
1ced37d
·
verified ·
1 Parent(s): 47aad6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -27,6 +27,7 @@ def get_youtube_channel_info(channel_name: str) -> str:
27
  # Extract and return the top result
28
  if search_results and len(search_results) > 0:
29
  top_result = search_results[0] # Get the first result
 
30
  print(f"Top search result: {top_result}") # Debug print statement
31
  return f"Top search result for '{channel_name}': {search_results[0:3]}"
32
  else:
 
27
  # Extract and return the top result
28
  if search_results and len(search_results) > 0:
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: