Skip to content

Commit

Permalink
Removing commented out line
Browse files Browse the repository at this point in the history
  • Loading branch information
michaellavelle committed Jul 25, 2020
1 parent 4c9a891 commit c905ccd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/demo_web_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def translate():
offset = 0
if not gpt.append_input_suffix_and_output_prefix_to_query:
offset = offset + len(gpt.input_suffix) + len(gpt.output_prefix)
#offset = max(len(gpt.input_suffix) + len(gpt.output_prefix) - 1, 0)
return {'text': response['choices'][0]['text'][offset:]}

subprocess.Popen(["yarn", "start"])
Expand Down

0 comments on commit c905ccd

Please sign in to comment.