Spaces:
Sleeping
Sleeping
| import gradio as gr | |
| import json | |
| def get_title(link): | |
| with open("book.json", "r", encoding='utf-8') as read_file: | |
| test = json.load(read_file) | |
| title = test[0]['item'][0]['title'] | |
| return link + title | |
| def greet(link): | |
| return link | |