pasxalisag commited on
Commit
3884b88
·
verified ·
1 Parent(s): 00835ed

Upload 6 files

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -437,9 +437,7 @@ Improved:"""
437
  yield token
438
  thread.join()
439
 
440
- # ========================
441
  # 4) Gradio UI (Optimized for Hugging Face)
442
- # ========================
443
 
444
  ASSISTANT: Optional[HybridCodeAssistant] = None
445
 
@@ -480,9 +478,12 @@ def chat(message: str, history: list):
480
 
481
  def create_ui():
482
  """Create Gradio UI optimized for Hugging Face"""
 
 
 
483
  with gr.Blocks(
484
  title="Codey Bryant 3.0 - SOTA RAG Coding Assistant",
485
- theme=gr.themes.Soft(),
486
  css="""
487
  .gradio-container { max-width: 1200px; margin: auto; }
488
  .chatbot { min-height: 500px; }
 
437
  yield token
438
  thread.join()
439
 
 
440
  # 4) Gradio UI (Optimized for Hugging Face)
 
441
 
442
  ASSISTANT: Optional[HybridCodeAssistant] = None
443
 
 
478
 
479
  def create_ui():
480
  """Create Gradio UI optimized for Hugging Face"""
481
+ # Use a compatible theme
482
+ theme = gr.themes.Soft()
483
+
484
  with gr.Blocks(
485
  title="Codey Bryant 3.0 - SOTA RAG Coding Assistant",
486
+ theme=theme, # Pass theme here
487
  css="""
488
  .gradio-container { max-width: 1200px; margin: auto; }
489
  .chatbot { min-height: 500px; }