Spaces:
Runtime error
Runtime error
import os | |
#import openai | |
import gradio as gr | |
# from util import* | |
from textblob import TextBlob | |
def get_your_doc_correction(doc): | |
gfg = TextBlob(doc) | |
gfg = gfg.correct() | |
return gfg | |
iface = gr.Interface(get_your_doc_correction, | |
inputs="text", | |
outputs="text", | |
examples=['I am briilliant stufdent.'], | |
theme="peach", | |
title='SPELL CHECKER APP', | |
description="You can validate your document using this application.") | |
iface.launch(inline=False) | |