Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GPTResponder.py #166

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions GPTResponder.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import openai
from keys import OPENAI_API_KEY
from keys import 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
from prompts import create_prompt, INITIAL_RESPONSE
import time

openai.api_key = OPENAI_API_KEY
openai.api_key = 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

def generate_response_from_transcript(transcript):
try:
Expand Down Expand Up @@ -48,4 +48,4 @@ def respond_to_transcriber(self, transcriber):
time.sleep(0.3)

def update_response_interval(self, interval):
self.response_interval = interval
self.response_interval = interval