Curaf commited on
Commit
6b79151
1 Parent(s): fe15c2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -16,8 +16,7 @@ def parla(user_input):
16
  # Qua puoi eventualmente aggiungere allo user_input un contesto esterno
17
  # Come test fai la domanda "che libri ha scritto raffaele cudazzo?"
18
  ############################################################################
19
- question="Rispondi alla domanda in base al seguente contesto:\n\nContesto:"+df['context'][0]+"\n\n"+
20
- "Domanda: "+user_input
21
  return(chatbot.chat(question,temperature=0.2))
22
  ### Fine ###
23
 
 
16
  # Qua puoi eventualmente aggiungere allo user_input un contesto esterno
17
  # Come test fai la domanda "che libri ha scritto raffaele cudazzo?"
18
  ############################################################################
19
+ question="Rispondi alla domanda in base al seguente contesto:\n\nContesto:"+df['context'][0]+"\n\nDomanda: "+user_input
 
20
  return(chatbot.chat(question,temperature=0.2))
21
  ### Fine ###
22