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 | |
) |
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 | |
) |