Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -147,7 +147,7 @@ def chat_llama3_8b(message: str,
|
|
147 |
|
148 |
|
149 |
# Gradio block
|
150 |
-
chatbot=gr.Chatbot(height=
|
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?'],
|