EN3IMI commited on
Commit
66b8e5f
·
verified ·
1 Parent(s): 48be6c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -174,9 +174,8 @@ def rag_system(user_input):
174
  def close_client():
175
  try:
176
  client.close()
177
- print("Weaviate client closed cleanly.")
178
- except Exception as e:
179
- print(f"Error closing client: {e}")
180
 
181
  # ========== واجهة Gradio ==========
182
  with gr.Blocks() as demo:
 
174
  def close_client():
175
  try:
176
  client.close()
177
+ except:
178
+ pass
 
179
 
180
  # ========== واجهة Gradio ==========
181
  with gr.Blocks() as demo: