Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -48,12 +48,12 @@ with gr.Blocks(
|
|
48 |
|
49 |
# Button with Javascript Event
|
50 |
gr.HTML("""
|
51 |
-
<button class =
|
52 |
title: 'How To Use',
|
53 |
text: 'Enter your Gemini API key, upload PDF document, select summary kind, then hit the summarize button',
|
54 |
timer: 5000});"
|
55 |
style=
|
56 |
-
.button-27 {
|
57 |
appearance: none;
|
58 |
background-color: #000000;
|
59 |
border: 2px solid #1A1A1A;
|
@@ -92,7 +92,7 @@ with gr.Blocks(
|
|
92 |
|
93 |
.button-27:active {
|
94 |
box-shadow: none;
|
95 |
-
transform: translateY(0);
|
96 |
>
|
97 |
Info
|
98 |
</button>
|
|
|
48 |
|
49 |
# Button with Javascript Event
|
50 |
gr.HTML("""
|
51 |
+
<button class = "button-27" role = "button" onclick="Swal.fire({
|
52 |
title: 'How To Use',
|
53 |
text: 'Enter your Gemini API key, upload PDF document, select summary kind, then hit the summarize button',
|
54 |
timer: 5000});"
|
55 |
style=
|
56 |
+
".button-27 {
|
57 |
appearance: none;
|
58 |
background-color: #000000;
|
59 |
border: 2px solid #1A1A1A;
|
|
|
92 |
|
93 |
.button-27:active {
|
94 |
box-shadow: none;
|
95 |
+
transform: translateY(0);"
|
96 |
>
|
97 |
Info
|
98 |
</button>
|