read_the_youtube / Model.py
raphael825
Make the Model.py
e926088
raw
history blame contribute delete
258 Bytes
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