abcdefghipri commited on
Commit
ac94a0d
·
verified ·
1 Parent(s): ef19f99

updated ssr_mode

Browse files
Files changed (1) hide show
  1. app.py +11 -2
app.py CHANGED
@@ -44,7 +44,16 @@ iface = gr.Interface(
44
  fn=predict,
45
  inputs=gr.Image(type="numpy", label="Upload CT Scan"),
46
  outputs=gr.Label(num_top_classes=1),
47
- title="Lung Cancer Detection"
 
 
 
 
 
48
  )
49
 
50
- iface.launch()
 
 
 
 
 
44
  fn=predict,
45
  inputs=gr.Image(type="numpy", label="Upload CT Scan"),
46
  outputs=gr.Label(num_top_classes=1),
47
+ title="Lung Cancer Detection",
48
+ description="""
49
+ ⚠️ **Disclaimer**
50
+ This tool is for **educational and research purposes only**.
51
+ It is **not a medical diagnosis** and should not be used as a substitute for professional medical advice.
52
+ """
53
  )
54
 
55
+ iface.launch(
56
+ server_name="0.0.0.0",
57
+ server_port=7860,
58
+ ssr_mode=False
59
+ )