paulcalzada commited on
Commit
7b7073c
·
verified ·
1 Parent(s): 2453f3e

Update app.py

Browse files

Removed redundant function that is in private agent

Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -37,12 +37,6 @@ except Exception as e:
37
  # Keep a lightweight global cache so we don’t reload embeddings on every click
38
  _VECTORSTORE_PATH = None
39
 
40
- def get_vectorstore_path() -> Path:
41
- global _VECTORSTORE_PATH
42
- if _VECTORSTORE_PATH is None:
43
- _VECTORSTORE_PATH = ensure_index_downloaded()
44
- return _VECTORSTORE_PATH
45
-
46
  # --- Gradio UI setup below ---
47
  with gr.Blocks(title="DeepV for RTL (Model-Agnostic)") as demo:
48
  gr.Markdown("## DeepV for RTL Code Generation — Model-Agnostic (Bring Your Own API Key)")
 
37
  # Keep a lightweight global cache so we don’t reload embeddings on every click
38
  _VECTORSTORE_PATH = None
39
 
 
 
 
 
 
 
40
  # --- Gradio UI setup below ---
41
  with gr.Blocks(title="DeepV for RTL (Model-Agnostic)") as demo:
42
  gr.Markdown("## DeepV for RTL Code Generation — Model-Agnostic (Bring Your Own API Key)")