File size: 366 Bytes
902fe38
 
10e6455
f068516
10e6455
 
 
 
 
 
 
 
 
 
 
 
 
 
f068516
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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)

.queue(max_size=20).launch(share=False)