Spaces:
Running on Zero

nitish17855 commited on
Commit
38955e7
·
1 Parent(s): 030e7a9

Fix demo.launch argument for Gradio 5

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -156,7 +156,7 @@ CUSTOM_CSS = """
156
  }
157
  """
158
 
159
- with gr.Blocks(title="AURA CRAG — Enterprise Financial Intelligence") as demo:
160
  gr.HTML(
161
  """
162
  <div class="header-box">
@@ -214,4 +214,4 @@ with gr.Blocks(title="AURA CRAG — Enterprise Financial Intelligence") as demo:
214
  )
215
 
216
  if __name__ == "__main__":
217
- demo.launch(css=CUSTOM_CSS)
 
156
  }
157
  """
158
 
159
+ with gr.Blocks(title="AURA CRAG — Enterprise Financial Intelligence", css=CUSTOM_CSS) as demo:
160
  gr.HTML(
161
  """
162
  <div class="header-box">
 
214
  )
215
 
216
  if __name__ == "__main__":
217
+ demo.launch()