jlecocq commited on
Commit
31f20f1
1 Parent(s): 0ec0460

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -74,7 +74,7 @@ def infere(image):
74
  return generated_texts
75
 
76
  # Define the title, description, and device description for the Gradio interface
77
- title = f"<a href='https://huggingface.co/eltorio/IDEFICS3_ROCO'>IDEFICS3_ROCO</a>: Medical Image to Text <b>running on {device}</b>"
78
  desc = "This model generates a description of a medical image."
79
 
80
  device_desc = f"This model is running on {device} 🚀." if device == torch.device('cuda') else f"🐢 This model is running on {device} it will be very (very) slow. If you can donate some GPU time it will be usable 🐢. <a href='https://huggingface.co/eltorio/IDEFICS3_ROCO/discussions'>Please contact us.</a>"
 
74
  return generated_texts
75
 
76
  # Define the title, description, and device description for the Gradio interface
77
+ title = f"<a href='https://huggingface.co/eltorio/IDEFICS3_ROCO'>IDEFICS3_ROCO</a>: AI X-ray Image Recognition <span style='color:red'><b>running on {device}</b></span>"
78
  desc = "This model generates a description of a medical image."
79
 
80
  device_desc = f"This model is running on {device} 🚀." if device == torch.device('cuda') else f"🐢 This model is running on {device} it will be very (very) slow. If you can donate some GPU time it will be usable 🐢. <a href='https://huggingface.co/eltorio/IDEFICS3_ROCO/discussions'>Please contact us.</a>"