Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -181,7 +181,7 @@ quantization_config = BitsAndBytesConfig(
|
|
| 181 |
|
| 182 |
|
| 183 |
|
| 184 |
-
model_id = "
|
| 185 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
| 186 |
|
| 187 |
model = AutoModelForCausalLM.from_pretrained(
|
|
@@ -290,7 +290,7 @@ with gr.Blocks(theme='lone17/kotaemon') as iface:
|
|
| 290 |
|
| 291 |
chatbot = gr.Chatbot(
|
| 292 |
height=750,
|
| 293 |
-
show_label=
|
| 294 |
type="messages" # Using the new messages format
|
| 295 |
)
|
| 296 |
|
|
|
|
| 181 |
|
| 182 |
|
| 183 |
|
| 184 |
+
model_id = "meta-llama/Llama-3.2-3B-Instruct"
|
| 185 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
| 186 |
|
| 187 |
model = AutoModelForCausalLM.from_pretrained(
|
|
|
|
| 290 |
|
| 291 |
chatbot = gr.Chatbot(
|
| 292 |
height=750,
|
| 293 |
+
show_label=False,
|
| 294 |
type="messages" # Using the new messages format
|
| 295 |
)
|
| 296 |
|