Ifeanyi commited on
Commit
6fc6258
·
verified ·
1 Parent(s): dff26bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -7
app.py CHANGED
@@ -45,9 +45,10 @@ with gr.Blocks(
45
  <script src='https://cdn.jsdelivr.net/npm/[email protected]/dist/sweetalert2.all.min.js'></script>
46
  <link href='https://cdn.jsdelivr.net/npm/[email protected]/dist/sweetalert2.min.css' rel='stylesheet'>
47
  """)
48
- # styling for alert popup
 
49
  gr.HTML("""
50
- <style>
51
  .prompt-title {
52
  font-family: "JetBrains Mono",monospace;
53
  font-size: 20px;
@@ -56,11 +57,8 @@ with gr.Blocks(
56
  .prompt-popup {
57
  background-color: black;
58
  }
59
- </style>
60
- """)
61
-
62
- # Button with Javascript Event
63
- gr.HTML("""
64
  <div style="text-align:center;">
65
  <button onclick="Swal.fire({
66
  title: 'How To Use',
 
45
  <script src='https://cdn.jsdelivr.net/npm/[email protected]/dist/sweetalert2.all.min.js'></script>
46
  <link href='https://cdn.jsdelivr.net/npm/[email protected]/dist/sweetalert2.min.css' rel='stylesheet'>
47
  """)
48
+
49
+ # Button with Javascript Event
50
  gr.HTML("""
51
+ <style>
52
  .prompt-title {
53
  font-family: "JetBrains Mono",monospace;
54
  font-size: 20px;
 
57
  .prompt-popup {
58
  background-color: black;
59
  }
60
+ </style>
61
+
 
 
 
62
  <div style="text-align:center;">
63
  <button onclick="Swal.fire({
64
  title: 'How To Use',