LIRAGTest / app.py
alexkueck's picture
Create app.py
af937f5
raw
history blame
240 Bytes
import os, sys, json
from openai import OpenAI
import gradio as gr
# Schnittstellen hinzubinden und OpenAI Key holen aus den Secrets
client = OpenAI(
api_key=os.getenv("OPENAI_API_KEY"), # this is also the default, it can be omitted
)