prateekbh's picture
Update app.py
2dc92ac verified
raw
history blame
370 Bytes
# Use a pipeline as a high-level helper
from transformers import pipeline
import gradio as gr
import spaces
# Description
title = r"""
<h1 align="center">Product description generator</h1>
"""
css = """
.gradio-container {width: 85% !important}
"""
with gr.Blocks(css=css) as demo:
# description
gr.Markdown(title)
demo.queue(max_size=20).launch(share=False)