coverylanguagedetection1 / load_json.md
Felixogunwale's picture
Upload 18 files
a63752b
|
raw
history blame contribute delete
No virus
161 Bytes

A newer version of the Gradio SDK is available: 4.44.1

Upgrade

import json from

with open('posts.json') as f: posts_json = json.load(f)

for post in posts_json: post = Post(text=post['text']) post.save()