rttr1 commited on
Commit
29be643
·
verified ·
1 Parent(s): 057fd9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -7
app.py CHANGED
@@ -26,14 +26,13 @@ def predict_brain_tumor(img):
26
  return output_str
27
 
28
  # Example images (replace these paths with your actual example image paths)
29
- examples=[
30
- ["example_glioma.jpg"],
31
- ["example_meningioma.jpeg"],
32
- ["example_notumor.jpeg"],
33
- ["example_pit.jpg"]
34
  ]
35
 
36
-
37
  # Create Gradio Interface
38
  iface = gr.Interface(
39
  fn=predict_brain_tumor,
@@ -45,4 +44,4 @@ iface = gr.Interface(
45
  )
46
 
47
  # Launch Gradio App
48
- iface.launch(share=True)
 
26
  return output_str
27
 
28
  # Example images (replace these paths with your actual example image paths)
29
+ example_images = [
30
+ ["example_glioma.jpg"],
31
+ ["example_meningioma.jpeg"],
32
+ ["example_notumor.jpeg"],
33
+ ["example_pit.jpg"]
34
  ]
35
 
 
36
  # Create Gradio Interface
37
  iface = gr.Interface(
38
  fn=predict_brain_tumor,
 
44
  )
45
 
46
  # Launch Gradio App
47
+ iface.launch()