MUmairAB commited on
Commit
d541852
1 Parent(s): 4e8c9b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -23,11 +23,7 @@ def detect_cancer(img):
23
 
24
 
25
 
26
- def main():
27
- gr.Interface(fn=detect_cancer,
28
  inputs=gr.Image(shape=(50, 50)),
29
  outputs=gr.Label("The Test Result"),
30
- examples=[0, 1]).launch()
31
-
32
- if __name__ == '__main__':
33
- main()
 
23
 
24
 
25
 
26
+ gr.Interface(fn=detect_cancer,
 
27
  inputs=gr.Image(shape=(50, 50)),
28
  outputs=gr.Label("The Test Result"),
29
+ examples=[0, 1]).launch()