yasserrmd commited on
Commit
a9a30db
·
verified ·
1 Parent(s): 3dccfa3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,7 +18,7 @@ DTYPE = torch.bfloat16 if DEVICE == "cuda" else torch.float32 # safe CPU dtype
18
 
19
  # Generation defaults
20
  GEN_KW = dict(
21
- max_new_tokens=768,
22
  do_sample=True,
23
  temperature=1.0,
24
  top_p=0.95,
@@ -150,7 +150,7 @@ with gr.Blocks(theme=theme, css=css) as demo:
150
  <div>Model: <code>{MODEL_ID}</code></div>
151
  </div>
152
  <div class="disclaimer">
153
- ⚠️ <strong>Education & Research Only:</strong> This tool is not a medical device and must not be used for diagnosis or treatment.
154
  Always consult a licensed clinician for interpretation and clinical decisions.
155
  </div>
156
  """)
 
18
 
19
  # Generation defaults
20
  GEN_KW = dict(
21
+ max_new_tokens=1024,
22
  do_sample=True,
23
  temperature=1.0,
24
  top_p=0.95,
 
150
  <div>Model: <code>{MODEL_ID}</code></div>
151
  </div>
152
  <div class="disclaimer">
153
+ ⚠️ <b>Education & Research Only:</b> This tool is not a medical device and must not be used for diagnosis or treatment.
154
  Always consult a licensed clinician for interpretation and clinical decisions.
155
  </div>
156
  """)