SudiptoPramanik
commited on
Update app.py
Browse files
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 = "
|
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
|