File size: 330 Bytes
902fe38
 
10e6455
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0c5d218
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Use a pipeline as a high-level helper
from transformers import pipeline
import gradio as gr

# 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.launch(7861)