Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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=
|
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 |
-
⚠️ <
|
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 |
""")
|