<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ibrahim Shahine</title>
    <description>The latest articles on DEV Community by Ibrahim Shahine (@ibrastartupjourney).</description>
    <link>https://dev.to/ibrastartupjourney</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1454242%2F6fae41bf-d048-4473-9c9e-c3d050315fba.jpg</url>
      <title>DEV Community: Ibrahim Shahine</title>
      <link>https://dev.to/ibrastartupjourney</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ibrastartupjourney"/>
    <language>en</language>
    <item>
      <title>Upload Woocomerce Products With Excel And Local Images?</title>
      <dc:creator>Ibrahim Shahine</dc:creator>
      <pubDate>Mon, 29 Apr 2024 10:34:14 +0000</pubDate>
      <link>https://dev.to/ibrastartupjourney/upload-woocomerce-products-with-excel-and-local-images-3ekf</link>
      <guid>https://dev.to/ibrastartupjourney/upload-woocomerce-products-with-excel-and-local-images-3ekf</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;In the world of e-commerce, efficiency is key. &lt;br&gt;
WooCommerce is a popular e-commerce plugin for WordPress that allows store owners to manage and sell products online. However, managing a large inventory or updating product details regularly can be time-consuming when done manually through the WordPress dashboard.&lt;/p&gt;

&lt;h2&gt;
  
  
  Problem And Solution
&lt;/h2&gt;

&lt;p&gt;Many WooCommerce store owners handle large product inventories, which include diverse categories, variable products, and numerous attributes. &lt;br&gt;
Regularly bulk updating prices, stock, descriptions, or adding new products using the WooCommerce interface can be hard, particularly for those with large catalogs. Moreover, during peak sales periods like Black Friday or Cyber Monday, the ability to bulk update products quickly and accurately becomes crucial.&lt;/p&gt;

&lt;h3&gt;
  
  
  Current Solution
&lt;/h3&gt;

&lt;p&gt;Excel is a tool familiar to most, used widely across various industries for data management due to its flexibility and powerful features. Many store owners already use Excel or similar spreadsheet software to keep track of inventory, pricing strategies, and other critical data offline. &lt;br&gt;
Typically, the process involves manually uploading each image to the media library, copying the link, and then linking it back in the Excel sheet before import, this is very time-consuming.&lt;/p&gt;

&lt;h2&gt;
  
  
  Introducing My Plugin
&lt;/h2&gt;

&lt;p&gt;To address these challenges, i am developing a Wordpress plugin that not only allows for the import of product data via Excel but also allows the uplaod of local images. This solution saves valueble time for store owners. &lt;/p&gt;

&lt;h3&gt;
  
  
  Features
&lt;/h3&gt;

&lt;p&gt;Direct Image Upload: Upload local images directly through Excel, eliminating the need to manually handle each image.&lt;br&gt;
Bulk Updates: Bulk update prices, stock levels, descriptions, and images for multiple products.&lt;/p&gt;

&lt;h2&gt;
  
  
  Stay Tuned
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsfxb40ee0wr0gse0uy1a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsfxb40ee0wr0gse0uy1a.png" alt="Stay Tuned image" width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Follow my development journey and get updates on the release of this plugin by subscribing to my blog and following me on Dev.to. Your insights and feedback are invaluable and help tailor the plugin to better meet the needs of the WooCommerce community.&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>php</category>
    </item>
    <item>
      <title>Exploring Bark, the Open Source Text-to-Speech Model</title>
      <dc:creator>Ibrahim Shahine</dc:creator>
      <pubDate>Sun, 28 Apr 2024 08:56:38 +0000</pubDate>
      <link>https://dev.to/ibrastartupjourney/exploring-bark-the-open-source-text-to-speech-model-1ehe</link>
      <guid>https://dev.to/ibrastartupjourney/exploring-bark-the-open-source-text-to-speech-model-1ehe</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;The AI boom has brought us a lot of tools, from LLM's to image generators. Amidst these innovations, text-to-speech technology remains crucial for accessibility, marketing, education and more. However, most high quality TTS models cost money and not open source.&lt;/p&gt;

&lt;p&gt;Enter &lt;a href="https://github.com/suno-ai/bark" rel="noopener noreferrer"&gt;Bark&lt;/a&gt;, an open-source model developed by Suno.&lt;/p&gt;

&lt;h2&gt;
  
  
  So, what can we create with bark?
&lt;/h2&gt;

&lt;p&gt;Bark AI opens up a world of possibilities for developers, content creators, and businesses alike.&lt;/p&gt;

&lt;p&gt;Bark AI is not only about converting text into speech; it goes a step further by introducing emotional nuances such as laughing, sighing, and crying into the audio. This capability allows for more realistic and engaging voice outputs, significantly enhancing the current features available in the market.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Use Bark AI
&lt;/h2&gt;

&lt;p&gt;We will be using the example from the Bark github repository, you can use Google Colab to run it.&lt;/p&gt;

&lt;p&gt;So let's set our Google colab:&lt;/p&gt;

&lt;p&gt;Click Runtime then change runtime type and choose GPU. Then write this and run it&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;!nvidia-smi
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Install using pip&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;!pip install git+https://github.com/suno-ai/bark.git
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Import the libraries&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;from bark import SAMPLE_RATE, generate_audio, preload_models
from scipy.io.wavfile import write as write_wav
from IPython.display import Audio
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Download and load the models&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;preload_models()
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Generate the audio from text&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# generate audio from text
text_prompt = """
     Hello, my name is Ibra. And, uh — and I like to code. [laughs] 
     But I also have other hobbies like Bjj.
"""
audio_array = generate_audio(text_prompt, history_prompt="v2/en_speaker_6")
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Save audio to disk&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;write_wav("bark_generation.wav", SAMPLE_RATE, audio_array)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>ai</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
