Update app.py
Browse files
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\
|
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 |
|