<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Building an Inpainting App Using Hugging Face, Databricks Model Serving, and Databricks Apps in Technical Blog</title>
    <link>https://community.databricks.com/t5/technical-blog/building-an-inpainting-app-using-hugging-face-databricks-model/ba-p/99137</link>
    <description>&lt;P&gt;This is a summary of the blog:&amp;nbsp;&lt;A class="app-aware-link " style="font-family: inherit; background-color: #ffffff;" href="https://lnkd.in/dArDi-Cf" target="_self" data-test-app-aware-link=""&gt;https://lnkd.in/dArDi-Cf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The blog provides a comprehensive guide to building an image inpainting application, focusing on filling or reconstructing missing or undesired parts of an image using machine learning. The key technologies utilized are:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Hugging Face Diffusers&lt;/STRONG&gt;: Used for leveraging pre-trained models for tasks like image inpainting. The guide integrates this library to handle the inpainting task effectively.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Databricks Platform&lt;/STRONG&gt;: The application development relies heavily on Databricks' ecosystem, showcasing:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;MLflow&lt;/STRONG&gt;: Employed for managing the model lifecycle, including logging, registering, and deploying models within Databricks' infrastructure. It also integrates with Databricks Unity Catalog for centralized model governance.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Databricks Model Serving&lt;/STRONG&gt;: Demonstrated to host and serve the inpainting model at scale, enabling it to handle real-world use cases.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Databricks Apps&lt;/STRONG&gt;: Explored for building a frontend to interact with the model, allowing users to upload images, select areas for inpainting, and receive modified outputs.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;H3&gt;Key Steps in the Blog&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Environment Setup&lt;/STRONG&gt;: The initial setup ensures the proper installation of libraries like Hugging Face's Diffusers and Databricks utilities.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Pipeline Experimentation&lt;/STRONG&gt;: The author shows how to work with inpainting pipelines locally to validate the approach before scaling up.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Custom MLflow Model&lt;/STRONG&gt;: The blog explains how to encapsulate the inpainting logic into an MLflow-compatible model, making it easier to deploy.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Model Logging and Registration&lt;/STRONG&gt;: It describes using Databricks’ managed MLflow for registering the model in Unity Catalog, ensuring versioning and traceability.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Model Serving&lt;/STRONG&gt;: The inpainting model is deployed using Databricks Model Serving, allowing scalable inference through a REST API.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Databricks App&lt;/STRONG&gt;: Finally, a user-friendly interface is created within the Databricks Apps ecosystem, enabling users to interact with the model in a visual and intuitive way.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;Integration Benefits&lt;/H3&gt;
&lt;P&gt;The blog highlights the strengths of combining Hugging Face’s cutting-edge AI models with Databricks' robust infrastructure. It illustrates how Databricks simplifies operationalizing AI models, from development to deployment, while ensuring scalability, security, and manageability. The inpainting app serves as a use case to demonstrate these capabilities, providing readers with a template to build similar AI-powered applications.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1_pwp1hWTDU1R5JSQ7Rn6vsQ.gif" style="width: 800px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/12955i4384AE2FB8BCA4C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="1_pwp1hWTDU1R5JSQ7Rn6vsQ.gif" alt="1_pwp1hWTDU1R5JSQ7Rn6vsQ.gif" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Nov 2024 11:49:46 GMT</pubDate>
    <dc:creator>esiol</dc:creator>
    <dc:date>2024-11-18T11:49:46Z</dc:date>
    <item>
      <title>Building an Inpainting App Using Hugging Face, Databricks Model Serving, and Databricks Apps</title>
      <link>https://community.databricks.com/t5/technical-blog/building-an-inpainting-app-using-hugging-face-databricks-model/ba-p/99137</link>
      <description>&lt;P&gt;This is a summary of the blog:&amp;nbsp;&lt;A class="app-aware-link " style="font-family: inherit; background-color: #ffffff;" href="https://lnkd.in/dArDi-Cf" target="_self" data-test-app-aware-link=""&gt;https://lnkd.in/dArDi-Cf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The blog provides a comprehensive guide to building an image inpainting application, focusing on filling or reconstructing missing or undesired parts of an image using machine learning. The key technologies utilized are:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Hugging Face Diffusers&lt;/STRONG&gt;: Used for leveraging pre-trained models for tasks like image inpainting. The guide integrates this library to handle the inpainting task effectively.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Databricks Platform&lt;/STRONG&gt;: The application development relies heavily on Databricks' ecosystem, showcasing:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;MLflow&lt;/STRONG&gt;: Employed for managing the model lifecycle, including logging, registering, and deploying models within Databricks' infrastructure. It also integrates with Databricks Unity Catalog for centralized model governance.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Databricks Model Serving&lt;/STRONG&gt;: Demonstrated to host and serve the inpainting model at scale, enabling it to handle real-world use cases.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Databricks Apps&lt;/STRONG&gt;: Explored for building a frontend to interact with the model, allowing users to upload images, select areas for inpainting, and receive modified outputs.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;H3&gt;Key Steps in the Blog&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Environment Setup&lt;/STRONG&gt;: The initial setup ensures the proper installation of libraries like Hugging Face's Diffusers and Databricks utilities.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Pipeline Experimentation&lt;/STRONG&gt;: The author shows how to work with inpainting pipelines locally to validate the approach before scaling up.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Custom MLflow Model&lt;/STRONG&gt;: The blog explains how to encapsulate the inpainting logic into an MLflow-compatible model, making it easier to deploy.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Model Logging and Registration&lt;/STRONG&gt;: It describes using Databricks’ managed MLflow for registering the model in Unity Catalog, ensuring versioning and traceability.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Model Serving&lt;/STRONG&gt;: The inpainting model is deployed using Databricks Model Serving, allowing scalable inference through a REST API.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Databricks App&lt;/STRONG&gt;: Finally, a user-friendly interface is created within the Databricks Apps ecosystem, enabling users to interact with the model in a visual and intuitive way.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;Integration Benefits&lt;/H3&gt;
&lt;P&gt;The blog highlights the strengths of combining Hugging Face’s cutting-edge AI models with Databricks' robust infrastructure. It illustrates how Databricks simplifies operationalizing AI models, from development to deployment, while ensuring scalability, security, and manageability. The inpainting app serves as a use case to demonstrate these capabilities, providing readers with a template to build similar AI-powered applications.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1_pwp1hWTDU1R5JSQ7Rn6vsQ.gif" style="width: 800px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/12955i4384AE2FB8BCA4C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="1_pwp1hWTDU1R5JSQ7Rn6vsQ.gif" alt="1_pwp1hWTDU1R5JSQ7Rn6vsQ.gif" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 11:49:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/technical-blog/building-an-inpainting-app-using-hugging-face-databricks-model/ba-p/99137</guid>
      <dc:creator>esiol</dc:creator>
      <dc:date>2024-11-18T11:49:46Z</dc:date>
    </item>
  </channel>
</rss>

