debisoft commited on
Commit
c9f033b
1 Parent(s): 5e807c3
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -30,10 +30,9 @@ def get_completion(prompt, model="dolly-v0-70m"):
30
 
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
-
37
  return response
38
 
39
  def greet(input):
 
30
 
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
 
38
  def greet(input):