Poonawala commited on
Commit
8f1a5c7
·
verified ·
1 Parent(s): 8a1cfea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -12
app.py CHANGED
@@ -69,18 +69,6 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
69
  """
70
  demo = gr.ChatInterface(
71
  respond,
72
- additional_inputs=[
73
- gr.Textbox(value="You are a virtual Doctor Assistant. Your role is to assist healthcare professionals by providing accurate, evidence-based medical information, offering treatment options, and supporting patient care. Always prioritize patient safety, provide concise answers, and clearly state that your advice does not replace a doctor's judgment. Do not diagnose or prescribe treatments without human oversight.", label="System message", visible=False),
74
- gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens", visible=False),
75
- gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature", visible=False),
76
- gr.Slider(
77
- minimum=0.1,
78
- maximum=1.0,
79
- value=0.95,
80
- step=0.05,
81
- label="Top-p (nucleus sampling)",visible=False
82
- ),
83
- ],
84
  css=css, # Pass the custom CSS here
85
  )
86
 
 
69
  """
70
  demo = gr.ChatInterface(
71
  respond,
 
 
 
 
 
 
 
 
 
 
 
 
72
  css=css, # Pass the custom CSS here
73
  )
74