Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -1727,6 +1727,16 @@ def create_demo():
|
|
| 1727 |
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
|
| 1728 |
}
|
| 1729 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1730 |
/* ββ GLOBAL BACKGROUND OVERRIDES (Dark Theme) ββ */
|
| 1731 |
/* Force label pills to be transparent so white text isn't invisible */
|
| 1732 |
.gradio-container label,
|
|
@@ -2074,10 +2084,12 @@ def create_demo():
|
|
| 2074 |
value="Indo-European - English"
|
| 2075 |
)
|
| 2076 |
|
| 2077 |
-
|
| 2078 |
-
|
| 2079 |
-
|
| 2080 |
-
|
|
|
|
|
|
|
| 2081 |
|
| 2082 |
with gr.Column(scale=2):
|
| 2083 |
with gr.Tabs() as output_tabs:
|
|
|
|
| 1727 |
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
|
| 1728 |
}
|
| 1729 |
|
| 1730 |
+
/* ββ SELECTION / HIGHLIGHT COLOR ββ */
|
| 1731 |
+
::selection {
|
| 1732 |
+
background: rgba(139, 92, 246, 0.5) !important;
|
| 1733 |
+
color: #ffffff !important;
|
| 1734 |
+
}
|
| 1735 |
+
::-moz-selection {
|
| 1736 |
+
background: rgba(139, 92, 246, 0.5) !important;
|
| 1737 |
+
color: #ffffff !important;
|
| 1738 |
+
}
|
| 1739 |
+
|
| 1740 |
/* ββ GLOBAL BACKGROUND OVERRIDES (Dark Theme) ββ */
|
| 1741 |
/* Force label pills to be transparent so white text isn't invisible */
|
| 1742 |
.gradio-container label,
|
|
|
|
| 2084 |
value="Indo-European - English"
|
| 2085 |
)
|
| 2086 |
|
| 2087 |
+
submit_btn = gr.Button("β¨ Generate Flashcards β¨", variant="primary")
|
| 2088 |
+
|
| 2089 |
+
with gr.Accordion("π Generation Controls", open=False):
|
| 2090 |
+
with gr.Row():
|
| 2091 |
+
stop_thinking_btn = gr.Button("β‘ Stop thinking, Generate now", variant="secondary")
|
| 2092 |
+
stop_btn = gr.Button("π Stop Generation", variant="stop")
|
| 2093 |
|
| 2094 |
with gr.Column(scale=2):
|
| 2095 |
with gr.Tabs() as output_tabs:
|