masapasa's picture
Update app.py
0ff00ed
raw
history blame contribute delete
421 Bytes
import gradio as gr
from gradio import inputs
description = "text classification"
interface = gr.Interface.load("huggingface/juliensimon/distilbert-amazon-shoe-reviews",
title = "text classification",
inputs = [
gr.inputs.Textbox(lines=7, label="Story"),
],
description=description,
examples=[["Adventurer is approached by a mysterious stranger in the tavern for a new quest"]]
)
interface.launch()