Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -2
src/streamlit_app.py
CHANGED
|
@@ -107,8 +107,7 @@ class GeminiInteractionLoop:
|
|
| 107 |
self.playback_stream = None
|
| 108 |
|
| 109 |
async def send_text_input_to_gemini(self, user_text):
|
| 110 |
-
if
|
| 111 |
-
not user_text or not self.gemini_session or not self.is_running:
|
| 112 |
logging.warning("Cannot send text. Session not active, no text, or not running.")
|
| 113 |
return
|
| 114 |
try:
|
|
|
|
| 107 |
self.playback_stream = None
|
| 108 |
|
| 109 |
async def send_text_input_to_gemini(self, user_text):
|
| 110 |
+
if not user_text or not self.gemini_session or not self.is_running:
|
|
|
|
| 111 |
logging.warning("Cannot send text. Session not active, no text, or not running.")
|
| 112 |
return
|
| 113 |
try:
|