fudii0921 commited on
Commit
bc88f3d
·
verified ·
1 Parent(s): 2448362

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 demo:
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
- demo.launch(share=False) # share=Trueで外部共有可能に
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