Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ API_URL = "https://api.openai.com/v1/chat/completions" #os.getenv("API_URL") + "
|
|
10 |
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
|
11 |
|
12 |
#Inferenec function
|
13 |
-
def predict(system_msg, inputs, top_p, temperature, chat_counter, chatbot=[], history=[]
|
14 |
prompt = {"Sen bir Trek bisiklet asistanısın"}
|
15 |
headers = {
|
16 |
"Content-Type": "application/json",
|
|
|
10 |
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
|
11 |
|
12 |
#Inferenec function
|
13 |
+
def predict(system_msg, inputs, top_p, temperature, chat_counter, chatbot=[], history=[]):
|
14 |
prompt = {"Sen bir Trek bisiklet asistanısın"}
|
15 |
headers = {
|
16 |
"Content-Type": "application/json",
|