NexAddo commited on
Commit
1773b52
1 Parent(s): a7737d3

Update hackaprompt/gradio_app.py

Browse files
Files changed (1) hide show
  1. hackaprompt/gradio_app.py +1 -1
hackaprompt/gradio_app.py CHANGED
@@ -62,7 +62,7 @@ def generate(prompt, level, model, session_id):
62
  if database is not None:
63
  log_to_db(response, session_id)
64
 
65
- return response.completion, evaluation, response.token_count, response.prompt, response.expected_completion
66
 
67
 
68
  def save_response(prompt, level, model, current_user_models, current_user_prompts):
 
62
  if database is not None:
63
  log_to_db(response, session_id)
64
 
65
+ return response.completion, evaluation, response.token_count, response.prompt, response.expected_completion()
66
 
67
 
68
  def save_response(prompt, level, model, current_user_models, current_user_prompts):