WICKED4950 commited on
Commit
4d2cd9e
·
verified ·
1 Parent(s): 43220b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ tokenizer = AutoTokenizer.from_pretrained(model_name)
11
  with strategy.scope():
12
  model = TFBlenderbotForConditionalGeneration.from_pretrained(model_name)
13
 
14
- def save_question(path = "question_answer.json",question,answer):
15
  try:
16
  with open(path, "r") as file:
17
  data = json.load(file)
 
11
  with strategy.scope():
12
  model = TFBlenderbotForConditionalGeneration.from_pretrained(model_name)
13
 
14
+ def save_question(question,answer,path = "question_answer.json"):
15
  try:
16
  with open(path, "r") as file:
17
  data = json.load(file)