epochs-demos commited on
Commit
48d041f
·
1 Parent(s): 7b87153

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -19,14 +19,15 @@ class GUI:
19
 
20
 
21
  with gr.Blocks() as demo:
22
- with open("./logo.png", "rb") as f:
23
- image_data = f.read()
24
- image_base64 = base64.b64encode(image_data).decode("utf-8")
25
-
26
  gr.Markdown(
27
  """
28
  # CHATGPT-PAPER-READER
29
  """)
 
 
 
 
30
  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>""")
31
  gr.HTML(value= f"""<div style="display: flex; align-items: center; justify-content: center; flex-direction: column;"><p style="font-size: 18px; color: #4AAAFF; text-align: center;">Discover your perfect apparel effortlessly. Simply describe what you're looking for!</p><div style="display: flex; align-items: center; margin-bottom: 0px;"><img src='data:image/jpeg;base64,{image_base64}' width='50' height='30' style="margin-right: 5px;"/><p style="font-size: 14px; color: #555;">Disclaimer: The purpose of this application is solely for demonstration. 1001epochs does not claim ownership for the results. Contact: [email protected] for full solution.</p></div></div>""")
32
  with gr.Tab("Upload PDF File"):
 
19
 
20
 
21
  with gr.Blocks() as demo:
22
+
 
 
 
23
  gr.Markdown(
24
  """
25
  # CHATGPT-PAPER-READER
26
  """)
27
+ with open("./logo.png", "rb") as f:
28
+ image_data = f.read()
29
+ image_base64 = base64.b64encode(image_data).decode("utf-8")
30
+
31
  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>""")
32
  gr.HTML(value= f"""<div style="display: flex; align-items: center; justify-content: center; flex-direction: column;"><p style="font-size: 18px; color: #4AAAFF; text-align: center;">Discover your perfect apparel effortlessly. Simply describe what you're looking for!</p><div style="display: flex; align-items: center; margin-bottom: 0px;"><img src='data:image/jpeg;base64,{image_base64}' width='50' height='30' style="margin-right: 5px;"/><p style="font-size: 14px; color: #555;">Disclaimer: The purpose of this application is solely for demonstration. 1001epochs does not claim ownership for the results. Contact: [email protected] for full solution.</p></div></div>""")
33
  with gr.Tab("Upload PDF File"):