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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -85,7 +85,9 @@ additional_inputs=[
85
  step=0.05,
86
  interactive=True,
87
  info="Penalize repeated tokens",
88
- )
 
 
89
  ]
90
 
91
  examples=[["I'm planning a vacation to Japan. Can you suggest a one-week itinerary including must-visit places and local cuisines to try?", None, None, None, None, None, ],
@@ -95,11 +97,10 @@ 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
- 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,
 
85
  step=0.05,
86
  interactive=True,
87
  info="Penalize repeated tokens",
88
+ ),
89
+ chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel")
90
+
91
  ]
92
 
93
  examples=[["I'm planning a vacation to Japan. Can you suggest a one-week itinerary including must-visit places and local cuisines to try?", None, None, None, None, None, ],
 
97
  ["Can you explain how the QuickSort algorithm works and provide a Python implementation?", None, None, None, None, None,],
98
  ["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,],
99
  ]
 
100
  gr.Interface(
101
  fn=generate,
102
+ outputs=additional_inputs[5],
103
+ inputs=additional_inputs,
104
  title="Mixtral 46.7B",
105
  examples=examples,
106
  concurrency_limit=20,