Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Groophy-Inc/Groophy.HugPi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

HugPi

NuGet version (Groophy.HugPi)

Source Code

Usage

Install-Package HugPi -Version 1.0.0
using hugging_api;

download webdriver who is your chrome version. https://chromedriver.storage.googleapis.com/index.html


Create an instance

spt

//public HugPi(string DriverPATH,string api = "facebook/blenderbot-400M-distill")

HugPi hug = new HugPi(@"C:\Users\GROOPHY\Desktop\desktop\Apps", "facebook/blenderbot-400M-distill");

Start asking to ai

Console.WriteLine("AI: " + hug.Ask("How are you?"));

at the end, don't forget kill or windows will can not close.

hug.Kill();

if you want to be sure about close all

HugPi.KillAllProcess();

sample

            HugPi hug = new HugPi(@"C:\Users\GROOPHY\Desktop\desktop\Apps");

            Console.Clear();

            while (true)
            {
                Console.Write("You: ");

                string input = Console.ReadLine();

                if (input == "quit")
                {
                    break;
                }

                Console.WriteLine("AI: " + hug.Ask(input));
            }

            hug.Kill();

assd

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages