Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -145,7 +145,7 @@ rag_system = RAGSystem(cfg)
|
|
| 145 |
print("Initializing Gemini model...")
|
| 146 |
api_key = os.environ.get("GEMINI_API_KEY")
|
| 147 |
vlm = VLM_GenAI(api_key, model_name="models/gemini-1.5-flash")
|
| 148 |
-
print("System ready.")
|
| 149 |
|
| 150 |
def run_rag_query(question_text: str, question_image: Optional[Image.Image]) -> Tuple[str, str]:
|
| 151 |
if not question_text.strip():
|
|
|
|
| 145 |
print("Initializing Gemini model...")
|
| 146 |
api_key = os.environ.get("GEMINI_API_KEY")
|
| 147 |
vlm = VLM_GenAI(api_key, model_name="models/gemini-1.5-flash")
|
| 148 |
+
print("System ready." )
|
| 149 |
|
| 150 |
def run_rag_query(question_text: str, question_image: Optional[Image.Image]) -> Tuple[str, str]:
|
| 151 |
if not question_text.strip():
|