debisoft commited on
Commit
67045bb
·
1 Parent(s): c9f033b
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def get_completion(prompt, model="dolly-v0-70m"):
31
  # Use the model to generate responses for each of the instructions above.
32
  for instruction in instructions:
33
  response = generate_response(instruction, model=model, tokenizer=tokenizer, **pipeline_kwargs)
34
- if response:
35
  print(f"Instruction: {instruction}\n\n{response}\n\n-----------\n")
36
  return response
37
 
 
31
  # Use the model to generate responses for each of the instructions above.
32
  for instruction in instructions:
33
  response = generate_response(instruction, model=model, tokenizer=tokenizer, **pipeline_kwargs)
34
+ if response:
35
  print(f"Instruction: {instruction}\n\n{response}\n\n-----------\n")
36
  return response
37