Spaces:
Build error
Build error
CB commited on
Update streamlit_app.py
Browse files- streamlit_app.py +7 -0
streamlit_app.py
CHANGED
|
@@ -12,6 +12,13 @@ Features:
|
|
| 12 |
- Basic UI for model selection, prompts, timeouts, and status/progress reporting
|
| 13 |
"""
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
import os
|
| 16 |
import time
|
| 17 |
import string
|
|
|
|
| 12 |
- Basic UI for model selection, prompts, timeouts, and status/progress reporting
|
| 13 |
"""
|
| 14 |
|
| 15 |
+
import logging
|
| 16 |
+
import google.generativeai as genai
|
| 17 |
+
logger = logging.getLogger("video_ai")
|
| 18 |
+
logger.info("genai attrs: %s", [k for k in dir(genai) if not k.startswith('_')])
|
| 19 |
+
logger.info("has genai.responses: %s, has genai.Responses: %s, has NewClient: %s",
|
| 20 |
+
hasattr(genai, "responses"), hasattr(genai, "Responses"), hasattr(genai, "NewClient"))
|
| 21 |
+
|
| 22 |
import os
|
| 23 |
import time
|
| 24 |
import string
|