johann22 commited on
Commit
82464bb
·
1 Parent(s): a41ce87

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -95,11 +95,11 @@ examples=[["I'm planning a vacation to Japan. Can you suggest a one-week itinera
95
  ["Can you explain how the QuickSort algorithm works and provide a Python implementation?", None, None, None, None, None,],
96
  ["What are some unique features of Rust that make it stand out compared to other systems programming languages like C++?", None, None, None, None, None,],
97
  ]
98
-
99
  gr.Interface(
100
  fn=generate,
101
- outputs=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
102
- inputs=[additional_inputs,outputs],
103
  title="Mixtral 46.7B",
104
  examples=examples,
105
  concurrency_limit=20,
 
95
  ["Can you explain how the QuickSort algorithm works and provide a Python implementation?", None, None, None, None, None,],
96
  ["What are some unique features of Rust that make it stand out compared to other systems programming languages like C++?", None, None, None, None, None,],
97
  ]
98
+ chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel")
99
  gr.Interface(
100
  fn=generate,
101
+ outputs=chatbot,
102
+ inputs=[additional_inputs,chatbot],
103
  title="Mixtral 46.7B",
104
  examples=examples,
105
  concurrency_limit=20,