Jaward commited on
Commit
e215a9c
·
verified ·
1 Parent(s): f1bdc9a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2031,7 +2031,7 @@ with gr.Blocks(
2031
  yield default_slide_html, None, None
2032
  return
2033
 
2034
- # Validate API key or GITHUB_TOKEN for Azure AI Foundry
2035
  if not api_key and api_service != "Azure AI Foundry":
2036
  error_html = """
2037
  <div style="display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; min-height: 700px; padding: 20px; text-align: center; border: 1px solid #ddd; border-radius: 8px;">
 
2031
  yield default_slide_html, None, None
2032
  return
2033
 
2034
+
2035
  if not api_key and api_service != "Azure AI Foundry":
2036
  error_html = """
2037
  <div style="display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; min-height: 700px; padding: 20px; text-align: center; border: 1px solid #ddd; border-radius: 8px;">