RuslanKain commited on
Commit
86680d1
·
1 Parent(s): e969f9c

Remove theme handling for Gradio UI to simplify interface creation

Browse files
Files changed (1) hide show
  1. app.py +1 -13
app.py CHANGED
@@ -531,19 +531,7 @@ class GradioApp:
531
  own responsibility. The final result is a complete interface.
532
  """
533
 
534
- # Create theme - handle older Gradio versions gracefully
535
- try:
536
- theme = gr.themes.Soft(
537
- primary_hue="blue",
538
- secondary_hue="gray",
539
- )
540
- except Exception:
541
- theme = "soft" # Fallback for older versions
542
-
543
- with gr.Blocks(
544
- title="CISC 121 - OOP Sorting Visualizer",
545
- theme=theme
546
- ) as demo:
547
 
548
  # Header
549
  gr.Markdown(APP_TITLE)
 
531
  own responsibility. The final result is a complete interface.
532
  """
533
 
534
+ with gr.Blocks() as demo:
 
 
 
 
 
 
 
 
 
 
 
 
535
 
536
  # Header
537
  gr.Markdown(APP_TITLE)