GChilukala commited on
Commit
60eb707
·
verified ·
1 Parent(s): 9689814

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1213,8 +1213,11 @@ async def translate_caption_interface(base_caption, selected_languages):
1213
 
1214
  # Just replace the CSS section in your create_gradio_app() function:
1215
 
1216
- def create_winning_gradio_app():
1217
  """Create the Gradio app with SambaNova and Hugging Face integration"""
 
 
 
1218
 
1219
  # Championship-level CSS
1220
  css = """
 
1213
 
1214
  # Just replace the CSS section in your create_gradio_app() function:
1215
 
1216
+ def create_gradio_app():
1217
  """Create the Gradio app with SambaNova and Hugging Face integration"""
1218
+ # Status indicators
1219
+ hf_status = "✅ Connected" if generator and generator.hf_client_working else "⚠️ Fallback Mode"
1220
+ sambanova_status = "✅ Connected" if generator and generator.sambanova_client_working else "⚠️ Fallback Mode"
1221
 
1222
  # Championship-level CSS
1223
  css = """