seiching commited on
Commit
a4b9592
1 Parent(s): 6091c72

update the wrong var openaiojb to openaiobj

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ def process_chunks(openaikeystr,inputtext):
56
  # api_key=openaikeystr,
57
  # )
58
  #openaiojb =OpenAI(base_url="http://localhost:1234/v1", api_key="not-needed")
59
- openaiojb =OpenAI( api_key=openaikeystr)
60
  text = inputtext
61
  #openaikey.set_key(openaikeystr)
62
  #print('process_chunk',openaikey.get_key())
 
56
  # api_key=openaikeystr,
57
  # )
58
  #openaiojb =OpenAI(base_url="http://localhost:1234/v1", api_key="not-needed")
59
+ openaiobj =OpenAI( api_key=openaikeystr)
60
  text = inputtext
61
  #openaikey.set_key(openaikeystr)
62
  #print('process_chunk',openaikey.get_key())