brurei commited on
Commit
636bc65
1 Parent(s): 7a0ef70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -62,9 +62,18 @@ with gr.Blocks() as demo:
62
  realPath = str(os.path.dirname(os.path.realpath(__file__)))
63
 
64
  if str(message).upper()=="OLA" or str(message).upper()=="OLÁ" or str(message).upper()=="OI":
65
- vetor = vetor + [((realPath + "\\images\\casa-del-ronco-branco.png",), "")]
66
  elif str(message).upper() == "VINHO CASA DEL RONCO PINOT GRIGIO" :
67
  vetor = vetor + [((realPath + "\\images\\casa-del-ronco-branco.png",), "")]
 
 
 
 
 
 
 
 
 
68
  return "", chat_history+vetor
69
 
70
  clear.click(lambda:None, None, gpt, queue=False,)
 
62
  realPath = str(os.path.dirname(os.path.realpath(__file__)))
63
 
64
  if str(message).upper()=="OLA" or str(message).upper()=="OLÁ" or str(message).upper()=="OI":
65
+ vetor = vetor + [((realPath + "\\images\\logo.png",), "")]
66
  elif str(message).upper() == "VINHO CASA DEL RONCO PINOT GRIGIO" :
67
  vetor = vetor + [((realPath + "\\images\\casa-del-ronco-branco.png",), "")]
68
+ elif str(message).upper() == "VINHO SURVIVOR CHENIN BLANC" :
69
+ vetor = vetor + [((realPath + "\\images\\survivor-branco.png",), "")]
70
+ elif str(message).upper() == "VINHO PORTO NOVA VERDE" :
71
+ vetor = vetor + [((realPath + "\\images\\porta-nova-branco.jpg",), "")]
72
+ elif str(message).upper() == "VINHO QUINTA DO PINTO ARINTO BRANCO" :
73
+ vetor = vetor + [((realPath + "\\images\\quinta-pinto-arinto-branco.png",), "")]
74
+ elif str(message).upper() == "VINHO 1492 CHARDONNAY" :
75
+ vetor = vetor + [((realPath + "\\images\\chardonay-branco.jpg",), "")]
76
+
77
  return "", chat_history+vetor
78
 
79
  clear.click(lambda:None, None, gpt, queue=False,)