KGSAGAR commited on
Commit
34ee121
·
verified ·
1 Parent(s): 42698e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ def respond(message, history, system_message, max_tokens, temperature, top_p):
52
  except Exception as e:
53
  return f"Generation error: {e}"
54
 
55
- def extract_content_after_output(text):
56
  """
57
  Extracts and returns the content that follows the word 'output' in the given text.
58
  If 'output' is not found, returns an empty string.
 
52
  except Exception as e:
53
  return f"Generation error: {e}"
54
 
55
+ def extract_user_output(text):
56
  """
57
  Extracts and returns the content that follows the word 'output' in the given text.
58
  If 'output' is not found, returns an empty string.