Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@ try: import whisper; WHISPER_AVAILABLE = True
|
|
| 39 |
except ImportError: WHISPER_AVAILABLE = False; print("WARNING: OpenAI Whisper not found, Audio Transcription tool will be disabled.")
|
| 40 |
|
| 41 |
# Google GenAI (Used by LangChain integration AND direct client)
|
| 42 |
-
from google.genai.types import
|
| 43 |
|
| 44 |
# LangChain
|
| 45 |
from langchain_core.messages import HumanMessage, AIMessage, SystemMessage, ToolMessage
|
|
|
|
| 39 |
except ImportError: WHISPER_AVAILABLE = False; print("WARNING: OpenAI Whisper not found, Audio Transcription tool will be disabled.")
|
| 40 |
|
| 41 |
# Google GenAI (Used by LangChain integration AND direct client)
|
| 42 |
+
from google.genai.types import HarmCategory, HarmBlockThreshold
|
| 43 |
|
| 44 |
# LangChain
|
| 45 |
from langchain_core.messages import HumanMessage, AIMessage, SystemMessage, ToolMessage
|