Spaces:
Runtime error
Runtime error
Commit
·
23fc488
1
Parent(s):
89c5662
Update app.py
Browse files
app.py
CHANGED
@@ -28,25 +28,24 @@ with gr.Blocks() as demo:
|
|
28 |
Fashion Aggregator
|
29 |
</h2>
|
30 |
"""
|
31 |
-
description =
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
<div style="display: flex; align-items: center; margin-bottom: 0px;">
|
37 |
-
|
38 |
-
|
39 |
-
Disclaimer:
|
40 |
-
|
41 |
-
</div>
|
42 |
</div>
|
43 |
-
|
44 |
gr.Markdown(
|
45 |
"""
|
46 |
# CHATGPT-PAPER-READER
|
47 |
""")
|
48 |
-
gr.HTML(
|
49 |
-
gr.HTML(description)
|
50 |
with gr.Tab("Upload PDF File"):
|
51 |
pdf_input = gr.File(label="PDF File")
|
52 |
api_input = gr.Textbox(label="OpenAI API Key")
|
|
|
28 |
Fashion Aggregator
|
29 |
</h2>
|
30 |
"""
|
31 |
+
description = f"""
|
32 |
+
<div style="display: flex; align-items: center; justify-content: center; flex-direction: column;">
|
33 |
+
<p style="font-size: 18px; color: #4AAAFF; text-align: center;">
|
34 |
+
Discover your perfect apparel effortlessly. Simply describe what you're looking for!
|
35 |
+
</p>
|
36 |
<div style="display: flex; align-items: center; margin-bottom: 0px;">
|
37 |
+
<img src='data:image/jpeg;base64,{image_base64}' width='50' height='30' style="margin-right: 5px;"/>
|
38 |
+
<p style="font-size: 14px; color: #555;">
|
39 |
+
Disclaimer: The purpose of this application is solely for demonstration. 1001epochs does not claim ownership for the results. Contact: [email protected] for full solution.
|
40 |
+
</p>
|
|
|
41 |
</div>
|
42 |
+
</div>
|
43 |
gr.Markdown(
|
44 |
"""
|
45 |
# CHATGPT-PAPER-READER
|
46 |
""")
|
47 |
+
gr.HTML(vlaue= f"""<h2 style="background-image: linear-gradient(to right, #3A5FCD, #87CEFA); -webkit-background-clip: text;-webkit-text-fill-color: transparent; text-align: center;">Fashion Aggregator</h2>""")
|
48 |
+
gr.HTML(value=description)
|
49 |
with gr.Tab("Upload PDF File"):
|
50 |
pdf_input = gr.File(label="PDF File")
|
51 |
api_input = gr.Textbox(label="OpenAI API Key")
|