AkashDataScience commited on
Commit
1d8de6c
·
1 Parent(s): 749e9d7

Updating chatbot

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,4 +37,4 @@ def infer(message, history):
37
  outputs = pipe(prompt, max_new_tokens=256, do_sample=True, num_beams=1, temperature=0.3, top_k=50, top_p=0.95, max_time= 180)
38
  return outputs[0]['generated_text'][len(prompt):].strip()
39
 
40
- gr.ChatInterface(infer, title="Phi-3 Assistant").launch()
 
37
  outputs = pipe(prompt, max_new_tokens=256, do_sample=True, num_beams=1, temperature=0.3, top_k=50, top_p=0.95, max_time= 180)
38
  return outputs[0]['generated_text'][len(prompt):].strip()
39
 
40
+ gr.ChatInterface(infer, chatbot=gr.Chatbot(height=300), title="Phi-3 Assistant").launch()