Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -48,27 +48,12 @@ with gr.Blocks(
|
|
| 48 |
|
| 49 |
# Button with Javascript Event
|
| 50 |
gr.HTML("""
|
| 51 |
-
<style>
|
| 52 |
-
.prompt-title {
|
| 53 |
-
font-family: "JetBrains Mono",monospace;
|
| 54 |
-
font-size: 20px;
|
| 55 |
-
}
|
| 56 |
-
|
| 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',
|
| 65 |
text: 'Enter your Gemini API key, upload PDF document, select summary kind, then hit the summarize button',
|
| 66 |
confirmButtonColor: 'black',
|
| 67 |
-
timer: 7000
|
| 68 |
-
customClass: {
|
| 69 |
-
title: "prompt-title",
|
| 70 |
-
popup: "prompt-popup"
|
| 71 |
-
}
|
| 72 |
});"
|
| 73 |
style="padding: 20px; background-color: #black; color: white; border: none; border-radius: 5px; cursor: pointer;">
|
| 74 |
Info
|
|
|
|
| 48 |
|
| 49 |
# Button with Javascript Event
|
| 50 |
gr.HTML("""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
<div style="text-align:center;">
|
| 52 |
<button onclick="Swal.fire({
|
| 53 |
title: 'How To Use',
|
| 54 |
text: 'Enter your Gemini API key, upload PDF document, select summary kind, then hit the summarize button',
|
| 55 |
confirmButtonColor: 'black',
|
| 56 |
+
timer: 7000
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
});"
|
| 58 |
style="padding: 20px; background-color: #black; color: white; border: none; border-radius: 5px; cursor: pointer;">
|
| 59 |
Info
|