SudiptoPramanik commited on
Commit
cece844
·
verified ·
1 Parent(s): bcbe100

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ Gen_model.to(device)
38
  # Inference function
39
  def Gen_make_inference(Question):
40
  Prompt = "Read the following Question carefully and then generate an appropriate answer to this question correctly."
41
- Grade = "non spam"
42
  input_template = f"prompt:{Prompt}\n\n ### Input(Grade):{Grade}\n ### Input(Question):{Question}\n\n### Answer:"
43
 
44
  # Tokenize input
 
38
  # Inference function
39
  def Gen_make_inference(Question):
40
  Prompt = "Read the following Question carefully and then generate an appropriate answer to this question correctly."
41
+ Grade = "not spam"
42
  input_template = f"prompt:{Prompt}\n\n ### Input(Grade):{Grade}\n ### Input(Question):{Question}\n\n### Answer:"
43
 
44
  # Tokenize input