lombardata commited on
Commit
dcc2cb9
1 Parent(s): 9b32559

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -84,7 +84,8 @@ def predict(input_image):
84
 
85
  # Define style
86
  title = "DinoVd'eau image classification"
87
- description = f"This is a prototype application that demonstrates how artificial intelligence-based systems can recognize what object(s) is present in an underwater image. To use it, simply upload your image, or click one of the example images to load them. For predictions, we use the open-source model {checkpoint_name}"
 
88
 
89
  gr.Interface(
90
  fn=predict,
 
84
 
85
  # Define style
86
  title = "DinoVd'eau image classification"
87
+ model_link = "https://huggingface.co/" + checkpoint_name
88
+ description = f"This is a prototype application that demonstrates how artificial intelligence-based systems can recognize what object(s) is present in an underwater image. To use it, simply upload your image, or click one of the example images to load them. For predictions, we use the [open-source model] ({model_link})"
89
 
90
  gr.Interface(
91
  fn=predict,