successfulpm commited on
Commit
fc44f04
·
verified ·
1 Parent(s): 25e6bc1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -1
app.py CHANGED
@@ -39,7 +39,17 @@ label = gr.Label() # Label output
39
  examples = ['monet.jpg', 'manet2.jpg', 'manet1.jpeg']
40
 
41
  # Create the Gradio interface
42
- intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
 
 
 
 
 
 
 
 
 
 
43
 
44
  # Launch the interface with Inline=False to open in a separate window
45
  intf.launch(share=True)
 
39
  examples = ['monet.jpg', 'manet2.jpg', 'manet1.jpeg']
40
 
41
  # Create the Gradio interface
42
+ #intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
43
+
44
+ # Create the Gradio interface with a title and description
45
+ intf = gr.Interface(
46
+ fn=classify_image,
47
+ inputs=image,
48
+ outputs=label,
49
+ examples=examples,
50
+ title="Monet vs Manet Image Classifier", # Add title here
51
+ description="Upload an image to classify it as either a Monet or Manet painting." # Optional description
52
+ )
53
 
54
  # Launch the interface with Inline=False to open in a separate window
55
  intf.launch(share=True)