epochs-demos commited on
Commit
23fc488
·
1 Parent(s): 89c5662

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -13
app.py CHANGED
@@ -28,25 +28,24 @@ with gr.Blocks() as demo:
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
- Extract the emotion and tone, Simply upload the audio or text!
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: This web app is for demonstration purposes only and not intended for commercial use. Contact: [email protected] for full solution.
40
- </p>
41
- </div>
42
  </div>
43
- """
44
  gr.Markdown(
45
  """
46
  # CHATGPT-PAPER-READER
47
  """)
48
- gr.HTML(title)
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")