Ifeanyi commited on
Commit
2611745
·
verified ·
1 Parent(s): e520d07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
app.py CHANGED
@@ -48,6 +48,16 @@ with gr.Blocks(
48
 
49
  # Button with Javascript Event
50
  gr.HTML("""
 
 
 
 
 
 
 
 
 
 
51
  <div style="text-align:center;">
52
  <button onclick=infoAlert()
53
  style="padding: 10px; background-color: black; color: white; border: none; border-radius: 5px; cursor: pointer;">
@@ -59,6 +69,10 @@ with gr.Blocks(
59
  title: 'How To Use',
60
  text: 'Enter your Gemini API key, upload PDF document, select summary kind, then hit the summarize button',
61
  confirmButtonColor: 'black',
 
 
 
 
62
  timer: 7000
63
  });
64
  }
 
48
 
49
  # Button with Javascript Event
50
  gr.HTML("""
51
+ <style>
52
+ .prompt-title {
53
+ font-family: "JetBrains Mono",monospace;
54
+ color: "#17202A";
55
+ }
56
+
57
+ .prompt-popup {
58
+ background: black;
59
+ }
60
+ </style>
61
  <div style="text-align:center;">
62
  <button onclick=infoAlert()
63
  style="padding: 10px; background-color: black; color: white; border: none; border-radius: 5px; cursor: pointer;">
 
69
  title: 'How To Use',
70
  text: 'Enter your Gemini API key, upload PDF document, select summary kind, then hit the summarize button',
71
  confirmButtonColor: 'black',
72
+ customClass: {
73
+ title: "prompt-title",
74
+ popup: "prompt-popup"
75
+ },
76
  timer: 7000
77
  });
78
  }