Update app.py
Browse files
app.py
CHANGED
|
@@ -489,15 +489,9 @@ _initial_gallery_html = render_samples_panel(SAMPLES_DIR_DEFAULT)
|
|
| 489 |
|
| 490 |
with gr.Blocks(
|
| 491 |
title="Gemini File Search – Gradio Demo (Spaces)",
|
| 492 |
-
css=custom_css,
|
| 493 |
theme=gr.themes.Soft(primary_hue="indigo", neutral_hue="slate"),
|
| 494 |
) as demo:
|
| 495 |
-
gr.HTML(""
|
| 496 |
-
<div class="hero">
|
| 497 |
-
<h1>Gemini File Search · RAG Demo</h1>
|
| 498 |
-
<p>Paste your Gemini API key to begin. create a store from local classics. upload your own files. ask grounded questions.</p>
|
| 499 |
-
</div>
|
| 500 |
-
""")
|
| 501 |
|
| 502 |
client_state = gr.State(value=None)
|
| 503 |
store_state = gr.State(value="")
|
|
|
|
| 489 |
|
| 490 |
with gr.Blocks(
|
| 491 |
title="Gemini File Search – Gradio Demo (Spaces)",
|
|
|
|
| 492 |
theme=gr.themes.Soft(primary_hue="indigo", neutral_hue="slate"),
|
| 493 |
) as demo:
|
| 494 |
+
gr.HTML(f"<style>{custom_css}</style>")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 495 |
|
| 496 |
client_state = gr.State(value=None)
|
| 497 |
store_state = gr.State(value="")
|