Spaces:
Sleeping
Sleeping
Commit ·
deeeb78
1
Parent(s): 426e07f
fix: getting api key
Browse files266 unmodified lines267268269270270271272271272273274275276266 unmodified lines with open("api.key", "r") as f: os.environ["OPENAI_API_KEY"] = f.read().strip() except FileNotFoundError: print("Using ENV variable") raise FileNotFoundError( "api.key file not found. Please create it with your OpenAI API key." ) # raise FileNotFoundError( # "api.key file not found. Please create it with your OpenAI API key." # )
def get_initial_analysis(transcript_processor: TranscriptProcessor) -> str:app.py+4-3