StevenChen16 commited on
Commit
42e9809
·
verified ·
1 Parent(s): ad866ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -147,7 +147,7 @@ def chat_llama3_8b(message: str,
147
 
148
 
149
  # Gradio block
150
- chatbot=gr.Chatbot(height=450, placeholder=PLACEHOLDER, label='Gradio ChatInterface')
151
 
152
  with gr.Blocks(fill_height=True, css=css) as demo:
153
 
@@ -156,6 +156,8 @@ with gr.Blocks(fill_height=True, css=css) as demo:
156
  fn=chat_llama3_8b,
157
  chatbot=chatbot,
158
  fill_height=True,
 
 
159
  examples=[
160
  ['What are the key differences between a sole proprietorship and a partnership?'],
161
  ['What legal steps should I take if I want to start a business in the US?'],
 
147
 
148
 
149
  # Gradio block
150
+ chatbot=gr.Chatbot(height=600, placeholder=PLACEHOLDER, label='Gradio ChatInterface')
151
 
152
  with gr.Blocks(fill_height=True, css=css) as demo:
153
 
 
156
  fn=chat_llama3_8b,
157
  chatbot=chatbot,
158
  fill_height=True,
159
+ temperature=0.6,
160
+ max_new_tokens=4096,
161
  examples=[
162
  ['What are the key differences between a sole proprietorship and a partnership?'],
163
  ['What legal steps should I take if I want to start a business in the US?'],