stilljustanobody commited on
Commit
f9a34e9
1 Parent(s): 22a2a88

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def format_prompt(message, history):
33
  prompt += f"[INST] {message} [/INST]"
34
  return prompt
35
 
36
- def log_conversation(user_prompt, bot_response, log_file="chatinfo.txt"):
37
  # Write conversation to the chatinfo.txt file
38
  with open(log_file, "a") as f:
39
  f.write(f"User: {user_prompt}\n")
@@ -115,6 +115,7 @@ additional_inputs=[
115
  examples=[["Hi", None, None, None, None, None, ],
116
  ["Do you have exclusive contents planned for your subscribers soon?", None, None, None, None, None,],
117
  ["Can you tell me more about yourself?", None, None, None, None, None,],
 
118
  ]
119
 
120
  gr.ChatInterface(
 
33
  prompt += f"[INST] {message} [/INST]"
34
  return prompt
35
 
36
+ def log_conversation(user_prompt, bot_response, log_file="text/dump.txt"):
37
  # Write conversation to the chatinfo.txt file
38
  with open(log_file, "a") as f:
39
  f.write(f"User: {user_prompt}\n")
 
115
  examples=[["Hi", None, None, None, None, None, ],
116
  ["Do you have exclusive contents planned for your subscribers soon?", None, None, None, None, None,],
117
  ["Can you tell me more about yourself?", None, None, None, None, None,],
118
+ ["Tell me about how suck cock and swallow loads.", None, None, None, None, None,],
119
  ]
120
 
121
  gr.ChatInterface(