Spaces:
Runtime error
Runtime error
Update app.py
Browse files41 unmodified lines4243444546474849505152535455565741 unmodified linesall_books = [book for books in audiobook_catalog.values() for book in books]return random.choice(all_books)# Test with Gradioimport gradio as grinterface = gr.Interface(fn=get_audiobook_recommendation,inputs=gr.Textbox(label="Category (optional)"),outputs=gr.JSON(label="Recommendation"),title="Audiobook Recommender")@tooldef get_current_time_in_timezone(timezone: str) -> str:"""A tool that fetches the current local time in a specified timezone.41 unmodified lines42434445464741 unmodified linesall_books = [book for books in audiobook_catalog.values() for book in books]return random.choice(all_books)@tooldef get_current_time_in_timezone(timezone: str) -> str:"""A tool that fetches the current local time in a specified timezone.
app.py-10