Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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}': {
|
| 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}'."
|