pedropauletti commited on
Commit
1b3da44
·
verified ·
1 Parent(s): 09c1b8e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,7 +9,7 @@ chatbot = gr.Chatbot(
9
  avatar_images=(None, "/imgs/chatbot-avatar-open.png"),
10
  )
11
  text = gr.Textbox(placeholder="Faça uma pergunta sobre a Legislação da Unesp", submit_btn=True)
12
- dropbox = gr.Dropdown(["gpt-35-turbo", "gpt-4", "Phi-3-5-mini-instruct"], label='Modelo')
13
  with gr.Blocks() as demo:
14
  chat = gr.ChatInterface(
15
  respond,
@@ -21,7 +21,7 @@ with gr.Blocks() as demo:
21
  chatbot=chatbot,
22
  # examples = examplesChatbot,
23
  )
24
- # examples_list = gr.Examples(examples=examplesChatbot, inputs=text)
25
 
26
  if __name__ == "__main__":
27
  demo.launch(debug=True)
 
9
  avatar_images=(None, "/imgs/chatbot-avatar-open.png"),
10
  )
11
  text = gr.Textbox(placeholder="Faça uma pergunta sobre a Legislação da Unesp", submit_btn=True)
12
+ dropbox = gr.Dropdown(["gpt-35-turbo", "gpt-4", "Phi-3-5-mini-instruct"], value="gpt-35-turbo" label='Modelo')
13
  with gr.Blocks() as demo:
14
  chat = gr.ChatInterface(
15
  respond,
 
21
  chatbot=chatbot,
22
  # examples = examplesChatbot,
23
  )
24
+ examples_list = gr.Examples(examples=examplesChatbot, inputs=text)
25
 
26
  if __name__ == "__main__":
27
  demo.launch(debug=True)