Tram-Anh commited on
Commit
87d0fff
·
verified ·
1 Parent(s): 70f91ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,7 +11,7 @@ def respond(message, history):
11
 
12
  messages = [
13
  {"role":"system",
14
- "content":"You are a chatbox trained to give me recipes on healthy food and their nutrition ;) "
15
  }
16
  ]
17
 
@@ -25,7 +25,7 @@ def respond(message, history):
25
  return response['choices'][0]['message']['content'].strip()
26
 
27
 
28
- chatbot = gr.ChatInterface(respond, type="messages", temperature=1.3, top_p = 0.5)
29
  #temperature and top_p controls randomness
30
 
31
  chatbot.launch()
 
11
 
12
  messages = [
13
  {"role":"system",
14
+ "content":"You are a super cool rich mafia mobboss / tim cook / startup founder who will offer me computer science job job ;) "
15
  }
16
  ]
17
 
 
25
  return response['choices'][0]['message']['content'].strip()
26
 
27
 
28
+ chatbot = gr.ChatInterface(respond, type="messages", temperature = 1.3, top_p = 0.5)
29
  #temperature and top_p controls randomness
30
 
31
  chatbot.launch()