JeCabrera commited on
Commit
53b9923
·
verified ·
1 Parent(s): 941f730

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -189,7 +189,7 @@ with gr.Blocks(title="🤖Chucho Bot - CopyXpert Sales Assistant") as demo:
189
 
190
  with gr.Row():
191
  with gr.Column(scale=4):
192
- chatbot = gr.Chatbot()
193
  msg = gr.Textbox(
194
  placeholder="Escribe tu pregunta aquí...",
195
  container=False,
@@ -204,7 +204,7 @@ with gr.Blocks(title="🤖Chucho Bot - CopyXpert Sales Assistant") as demo:
204
  file_upload = gr.File(
205
  label="Sube un archivo (opcional)",
206
  file_types=["text", "pdf", "docx", "csv", "xlsx", "image"],
207
- type="file"
208
  )
209
 
210
  examples = gr.Examples(
 
189
 
190
  with gr.Row():
191
  with gr.Column(scale=4):
192
+ chatbot = gr.Chatbot(type="messages")
193
  msg = gr.Textbox(
194
  placeholder="Escribe tu pregunta aquí...",
195
  container=False,
 
204
  file_upload = gr.File(
205
  label="Sube un archivo (opcional)",
206
  file_types=["text", "pdf", "docx", "csv", "xlsx", "image"],
207
+ type="filepath"
208
  )
209
 
210
  examples = gr.Examples(