Skip to content

Instantly share code, notes, and snippets.

View gorkemgoknar's full-sized avatar

Gorkem gorkemgoknar

View GitHub Profile
"""
Example of how to synthesize speech using the Coqui Studio API.
Streams the download/playback of the audio.
Usage:
$ COQUI_API_TOKEN="put your API token here" python coqui_api_stream.py --text "Hi there!"
To specify the voice to use, pass eg: `--voice 98d4af7d-aca0-4a70-a26e-4ca59023a248`
@gorkemgoknar
gorkemgoknar / metayazar_com_movie_char_interview.csv
Created February 2, 2021 12:08
Metayazar.com movie character interview results for temperature 1 and 1.4
We can't make this file beautiful and searchable because it's too large.
question_id;question;answers;name;temperature
0;name;Kuiil;Kuiil;1.4
1;Welcome to this interview, I am Gorkem.;This is a long time coming as you know it but you're here, I am your representative. Your name is Gorkem. What do you want? You like food;Kuiil;1.4
2;Tell me about yourself;Excuse me sir, could you read me your notes?;Kuiil;1.4
3;Please tell me about your history;Tell me about our father, my father died at thirty minutes. We live together. Our future depends on it. It might happen either way. Your question is interesting but;Kuiil;1.4
4;What job position are you in currently?;I am the President of the Army and I am your spokesperson. That may change in the future.;Kuiil;1.4
5;Why are you leaving your current position?;What is clear is I believe my life in this city hinges a great deal on how I answer. This city needs to be better, better preserved, to keep the old ways;Kuiil;1.4
6;What are your weaknesses?;I know what you have. Do I have to kill you once and for all before this city gets a chance to
{
"train":[
{
"personality":[
"My name is Ethan. <<REAL PERSONALITY>> This list defines the character, you can add char related text for chat here to drive chat"
],
"utterances":[
{
"candidates":[
"A line character is not supposed to say in this chat.",
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@gorkemgoknar
gorkemgoknar / DistinctCount.cs
Last active March 16, 2017 06:10
Calculates distinct song play count per client (in C#) , will use input.csv as input and date 10/08/2016 (10 Aug 2016) as default if not entered.
using System.IO;
using System;
using System.Collections.Generic;
class Program {
//client Database, will contain unique song access for each client
public static List < Client > clientAccessList = new List < Client > ();
//Dictionary for key,value pair where key = Number of song accesses by a client, value = number of clients