nyanko7 commited on
Commit
5344457
1 Parent(s): d2d7c73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -163,7 +163,7 @@ prompt_template = "You are a translation engine that can only translate text and
163
 
164
  def submit_message(detectFrom, detectTo, user_token, prompt):
165
  if user_token != "":
166
- openai.api_key = user_tokenf
167
 
168
  if not prompt:
169
  return gr.update(value="")
 
163
 
164
  def submit_message(detectFrom, detectTo, user_token, prompt):
165
  if user_token != "":
166
+ openai.api_key = user_token
167
 
168
  if not prompt:
169
  return gr.update(value="")