dev-deg commited on
Commit
e74527f
·
1 Parent(s): 30d1897

minor fix

Browse files
Files changed (1) hide show
  1. app.py +7 -8
app.py CHANGED
@@ -10,11 +10,10 @@ def process_image(input_image):
10
 
11
  # Define the Gradio interface
12
 
13
- if __name__ == '__main__':
14
- iface = gr.Interface(
15
- fn=process_image,
16
- inputs="image",
17
- outputs=["image", "text"],
18
- title="AMBULANT Benthic Identification System"
19
- )
20
- iface.launch(auth=("admin", "pass1234"), share=True)
 
10
 
11
  # Define the Gradio interface
12
 
13
+ iface = gr.Interface(
14
+ fn=process_image,
15
+ inputs="image",
16
+ outputs=["image", "text"],
17
+ title="AMBULANT Benthic Identification System"
18
+ )
19
+ iface.launch(auth=("admin", "pass1234"), share=True)