Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -265,22 +265,36 @@ def format_content_display(content):
|
|
| 265 |
return str(content)
|
| 266 |
|
| 267 |
def main():
|
| 268 |
-
# Sidebar with tips and status
|
| 269 |
with st.sidebar:
|
| 270 |
-
|
| 271 |
-
|
| 272 |
-
|
| 273 |
-
|
| 274 |
-
|
| 275 |
-
|
| 276 |
-
|
| 277 |
-
|
| 278 |
-
|
| 279 |
-
|
| 280 |
-
|
| 281 |
-
|
| 282 |
-
|
| 283 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 284 |
# Component status
|
| 285 |
st.write("π€ **Components:**")
|
| 286 |
st.write(f"β’ Speech Recognition: {'β
' if TRANSFORMERS_AVAILABLE else 'β'}")
|
|
|
|
| 265 |
return str(content)
|
| 266 |
|
| 267 |
def main():
|
|
|
|
| 268 |
with st.sidebar:
|
| 269 |
+
st.header("π¨ VoiceCanvas")
|
| 270 |
+
st.markdown("*AI Content Studio*")
|
| 271 |
+
|
| 272 |
+
# Status section
|
| 273 |
+
st.subheader("π System Status")
|
| 274 |
+
|
| 275 |
+
gemini_available = setup_gemini()
|
| 276 |
+
|
| 277 |
+
col1, col2 = st.columns(2)
|
| 278 |
+
|
| 279 |
+
with col1:
|
| 280 |
+
st.metric("Mode", "Enhanced" if gemini_available else "Basic")
|
| 281 |
+
with col2:
|
| 282 |
+
st.metric("Model", "Gemini" if gemini_available else "HF")
|
| 283 |
+
with st.sidebar:
|
| 284 |
+
st.header("π¨ VoiceCanvas")
|
| 285 |
+
st.markdown("*AI Content Studio*")
|
| 286 |
+
|
| 287 |
+
# Status section
|
| 288 |
+
st.subheader("π System Status")
|
| 289 |
+
|
| 290 |
+
gemini_available = setup_gemini()
|
| 291 |
+
|
| 292 |
+
col1, col2 = st.columns(2)
|
| 293 |
+
|
| 294 |
+
with col1:
|
| 295 |
+
st.metric("Mode", "Enhanced" if gemini_available else "Basic")
|
| 296 |
+
with col2:
|
| 297 |
+
st.metric("Model", "Gemini" if gemini_available else "HF")
|
| 298 |
# Component status
|
| 299 |
st.write("π€ **Components:**")
|
| 300 |
st.write(f"β’ Speech Recognition: {'β
' if TRANSFORMERS_AVAILABLE else 'β'}")
|