Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -367,7 +367,7 @@ def search_pgvector_with_text_gradio(text_query_str):
|
|
| 367 |
conn.close()
|
| 368 |
|
| 369 |
# Gradio UI Blocks
|
| 370 |
-
with gr.Blocks(title="PDF to RAG with Cohere, PGVector, and Gemini") as
|
| 371 |
gr.Markdown(
|
| 372 |
"""
|
| 373 |
<div style="font-size: 12px;">
|
|
@@ -409,5 +409,5 @@ with gr.Blocks(title="PDF to RAG with Cohere, PGVector, and Gemini") as demo:
|
|
| 409 |
|
| 410 |
# Gradioアプリを起動
|
| 411 |
if __name__ == "__main__":
|
| 412 |
-
|
| 413 |
|
|
|
|
| 367 |
conn.close()
|
| 368 |
|
| 369 |
# Gradio UI Blocks
|
| 370 |
+
with gr.Blocks(title="PDF to RAG with Cohere, PGVector, and Gemini", css="footer {visibility: hidden;}") as imgpdf:
|
| 371 |
gr.Markdown(
|
| 372 |
"""
|
| 373 |
<div style="font-size: 12px;">
|
|
|
|
| 409 |
|
| 410 |
# Gradioアプリを起動
|
| 411 |
if __name__ == "__main__":
|
| 412 |
+
imgpdf.launch(share=False) # share=Trueで外部共有可能に
|
| 413 |
|