datdevsteve commited on
Commit
8de7fbd
·
verified ·
1 Parent(s): 16464db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -172,7 +172,7 @@ def create_demo():
172
  """Create Gradio interface"""
173
 
174
  # Remove theme from Blocks constructor for Gradio 6.0 compatibility
175
- with gr.Blocks(title="Nivra ClinicalBERT Inference Endpoint", theme=gr.themes.Emerald()) as demo:
176
 
177
  gr.Markdown("""
178
  # 🏥 Nivra ClinicalBERT - Symptom Text Classifier
@@ -274,6 +274,7 @@ if __name__ == "__main__":
274
  server_name="0.0.0.0",
275
  server_port=7860,
276
  share=False,
 
277
 
278
  # API is automatically enabled in Gradio 6.0+
279
  )
 
172
  """Create Gradio interface"""
173
 
174
  # Remove theme from Blocks constructor for Gradio 6.0 compatibility
175
+ with gr.Blocks(title="Nivra ClinicalBERT Inference Endpoint") as demo:
176
 
177
  gr.Markdown("""
178
  # 🏥 Nivra ClinicalBERT - Symptom Text Classifier
 
274
  server_name="0.0.0.0",
275
  server_port=7860,
276
  share=False,
277
+ theme=gr.themes.Ocean()
278
 
279
  # API is automatically enabled in Gradio 6.0+
280
  )