Tom Claude commited on
Commit
1ac873b
·
1 Parent(s): e1f256c

fix: move theme to launch() for Gradio 6.x compatibility

Browse files

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -199,8 +199,7 @@ def create_app():
199
  """Create and configure the Gradio application"""
200
 
201
  with gr.Blocks(
202
- title="NewPress AI - Johnny Harris Script Assistant",
203
- theme="soft"
204
  ) as app:
205
  app.queue() # Enable queue before defining event handlers for progress to work
206
 
@@ -314,5 +313,6 @@ if __name__ == "__main__":
314
  app.launch(
315
  server_name="0.0.0.0",
316
  server_port=7860,
317
- share=False
 
318
  )
 
199
  """Create and configure the Gradio application"""
200
 
201
  with gr.Blocks(
202
+ title="NewPress AI - Johnny Harris Script Assistant"
 
203
  ) as app:
204
  app.queue() # Enable queue before defining event handlers for progress to work
205
 
 
313
  app.launch(
314
  server_name="0.0.0.0",
315
  server_port=7860,
316
+ share=False,
317
+ theme="soft"
318
  )