SamiKoen commited on
Commit
5bc456f
·
1 Parent(s): f6ad4c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=[], prompt):
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",