abdeljalilELmajjodi commited on
Commit
8093b01
·
verified ·
1 Parent(s): 4cff703

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -69,7 +69,7 @@ def generate_text(prompt, max_length=256, temperature=0.7, top_p=0.9, top_k=150,
69
 
70
  def save_feedback(input,output,params) -> None:
71
  with scheduler.lock:
72
- with feedback_file.open("a") as f:
73
  f.write(json.dumps({"input": input, "output": output, "params": params}))
74
  f.write("\n")
75
 
 
69
 
70
  def save_feedback(input,output,params) -> None:
71
  with scheduler.lock:
72
+ with submit_file.open("a") as f:
73
  f.write(json.dumps({"input": input, "output": output, "params": params}))
74
  f.write("\n")
75