Niketkumardheeryan / ML-CaPsule

ML-capsule is a Project for beginners and experienced data science Enthusiasts who don't have a mentor or guidance and wish to learn Machine learning. Using our repo they can learn ML, DL, and many related technologies with different real-world projects and become Interview ready.
MIT License
334 stars 296 forks source link

Integratiion of Gradio as UI #708

Closed AKing-283 closed 1 month ago

AKing-283 commented 1 month ago

Hello PA and Mentor @invigorzz313
I have integrated gradio which is a user friendly UI for ML applications. In this I have two text boxes one where user will insert the news and at the output the user will get to know whether it is real or fake.

Here is the Screenshot

Screenshot 2024-05-25 at 5 31 50 PM
invigorzz313 commented 1 month ago

Please remove the commit of the main ReadMe.md file of the repo. You mustn't change that. And add about the new library used in the existing ReadMe.md of this project.

invigorzz313 commented 1 month ago

It looks like you must first install the libraries necessary for running the notebook. As I notice errors in many cell outputs due to absence of the required library.

AKing-283 commented 1 month ago

yeah @invigorzz313 I made the changes in this ipynb file via colab and then I pushed it

AKing-283 commented 1 month ago

Please remove the commit of the main ReadMe.md file of the repo. You mustn't change that. And add about the new library used in the existing ReadMe.md of this project.

How should I do this changes ??. It's a little bit confusing

invigorzz313 commented 1 month ago

yeah @invigorzz313 I made the changes in this ipynb file via colab and then I pushed it

image

image

These are some of the errors in the cell outputs that I notice in your commit. There are more of this.

image

image

**Due to absence of required libraries in your notebook, there is no proper running of code.

and the code you added (the model), you did not run them at all.**

image

The PR cannot be considered if all these are not rectified.

invigorzz313 commented 1 month ago

Please remove the commit of the main ReadMe.md file of the repo. You mustn't change that. And add about the new library used in the existing ReadMe.md of this project.

How should I do this changes ??. It's a little bit confusing

When using git in your local machine, delete the commit from your log history in this branch where the main ReadMe.md is edited.

AKing-283 commented 1 month ago

yeah @invigorzz313 I made the changes in this ipynb file via colab and then I pushed it

image

image

These are some of the errors in the cell outputs that I notice in your commit. There are more of this.

image

image

**Due to absence of required libraries in your notebook, there is no proper running of code.

and the code you added (the model), you did not run them at all.**

image

The PR cannot be considered if all these are not rectified.

@invigorzz313, I am doing this changes via colab and I am not able to clear these errors in vs but when I tried running it via colab it was running fine. Pls try to run this file file via colab once.

AKing-283 commented 1 month ago

I tried to install the libraries via terminal in vs code but still facing same errors that's why I am making changes via colab

AKing-283 commented 1 month ago
Screenshot 2024-05-30 at 1 40 43 PM

here it is the readme of original file and it is not changed

invigorzz313 commented 1 month ago

yeah @invigorzz313 I made the changes in this ipynb file via colab and then I pushed it

image image These are some of the errors in the cell outputs that I notice in your commit. There are more of this. image image Due to absence of required libraries in your notebook, there is no proper running of code. and the code you added (the model), you did not run them at all. image The PR cannot be considered if all these are not rectified.

@invigorzz313, I am doing this changes via colab and I am not able to clear these errors in vs but when I tried running it via colab it was running fine. Pls try to run this file file via colab once.

Unless your committed files have proper outputs finally, we cannot merge the PR. It would disturb the currently proper-output code.

invigorzz313 commented 1 month ago

Screenshot 2024-05-30 at 1 40 43 PM here it is the readme of original file and it is not changed

I meant the main ReadMe.md file of this github repo.

image