Aida-chiyo-Talk-app

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

MainController.cs (1285B)


      1 using IronPython.Hosting;
      2 using Microsoft.Scripting.Hosting;
      3 using System;
      4 using System.Collections.Generic;
      5 using System.Diagnostics;
      6 using System.Linq;
      7 using System.Text;
      8 using System.Threading.Tasks;
      9 
     10 namespace Aida_chiyo_Talk_app
     11 {
     12     internal class MainController
     13     {
     14         public async Task MainCon()
     15         {
     16             //wakeup
     17             Console.WriteLine("we are waking up...");
     18 
     19             VoiceVox voiceVox = new VoiceVox();
     20             voiceVox.VoiceVoxOnChecker();
     21 
     22             Console.WriteLine("We have woke up.");
     23 
     24 
     25 
     26             //Let's talk
     27             /*
     28             test test = new test();
     29             test.tester();
     30 
     31             */
     32             await Talkcon();
     33             
     34         }
     35         public async Task Talkcon()
     36         {
     37 
     38             var output = new Output();
     39 
     40             TalkAI talkAI = new TalkAI();
     41 
     42             talkAI.TalkAIcon();
     43 
     44             //await talkAI.A3RTcon();
     45             
     46             /*
     47             TalkEngine talkEngine = new TalkEngine();
     48             string answer;
     49             while (input != "exit")
     50             {
     51                 answer = talkEngine.CallTalkAPI(input).ToString();
     52                 output.OutputConsole(answer);
     53                 input = inputs.InputConsole();
     54             }
     55             */
     56 
     57         }
     58     }
     59 }