Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,2 +1,18 @@
|
|
1 |
# Use a pipeline as a high-level helper
|
2 |
from transformers import pipeline
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# Use a pipeline as a high-level helper
|
2 |
from transformers import pipeline
|
3 |
+
import gradio as gr
|
4 |
+
|
5 |
+
# Description
|
6 |
+
title = r"""
|
7 |
+
<h1 align="center">Product description generator</h1>
|
8 |
+
"""
|
9 |
+
|
10 |
+
css = """
|
11 |
+
.gradio-container {width: 85% !important}
|
12 |
+
"""
|
13 |
+
|
14 |
+
with gr.Blocks(css=css) as demo:
|
15 |
+
# description
|
16 |
+
gr.Markdown(title)
|
17 |
+
|
18 |
+
demo.launch()
|