bharatcoder commited on
Commit
30e837a
·
verified ·
1 Parent(s): d0a14b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -10,6 +10,12 @@ except ImportError as e:
10
  print("🔧 Make sure you're in the gemmaembeddings conda environment")
11
  print("📦 Required packages: torch, sentence-transformers, chromadb")
12
 
 
 
 
 
 
 
13
  class EmbeddingGemmaPrompts:
14
  """
15
  Optimized prompt templates for Google's EmbeddingGemma model.
 
10
  print("🔧 Make sure you're in the gemmaembeddings conda environment")
11
  print("📦 Required packages: torch, sentence-transformers, chromadb")
12
 
13
+ # Global variables for model and collection (initialized lazily)
14
+ model = None
15
+ collection = None
16
+ device = None
17
+ config = Config()
18
+
19
  class EmbeddingGemmaPrompts:
20
  """
21
  Optimized prompt templates for Google's EmbeddingGemma model.