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

Changing textbox

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -37,4 +37,6 @@ 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, chatbot=gr.Chatbot(height=300), 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),
41
+ textbox=gr.Textbox(placeholder="How can I help you today", container=False,
42
+ scale=7), title="Phi-3 Assistant").launch()