Omnibus commited on
Commit
0783516
·
verified ·
1 Parent(s): 55b6986

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -71,9 +71,7 @@ def run_gpt(
71
  timestamp=timestamp,
72
  purpose=purpose,
73
  ) + prompt_template.format(**prompt_kwargs)
74
- if VERBOSE:
75
- print(LOG_PROMPT.format(content))
76
-
77
 
78
  #formatted_prompt = format_prompt(f"{system_prompt}, {prompt}", history)
79
  #formatted_prompt = format_prompt(f'{content}', **prompt_kwargs['history'])
@@ -84,8 +82,6 @@ def run_gpt(
84
  resp += response.token.text
85
  #yield resp
86
 
87
- if VERBOSE:
88
- print(LOG_RESPONSE.format(resp))
89
  return resp
90
 
91
 
 
71
  timestamp=timestamp,
72
  purpose=purpose,
73
  ) + prompt_template.format(**prompt_kwargs)
74
+
 
 
75
 
76
  #formatted_prompt = format_prompt(f"{system_prompt}, {prompt}", history)
77
  #formatted_prompt = format_prompt(f'{content}', **prompt_kwargs['history'])
 
82
  resp += response.token.text
83
  #yield resp
84
 
 
 
85
  return resp
86
 
87