Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import AutoTokenizer
|
3 |
|
4 |
with gr.Blocks() as demo:
|
5 |
-
huggingface = gr.Textbox(value="
|
6 |
button = gr.Button(value="get chat template")
|
7 |
output = gr.Textbox(lines=10.0, show_copy_button=True, visible=False)
|
8 |
|
|
|
2 |
from transformers import AutoTokenizer
|
3 |
|
4 |
with gr.Blocks() as demo:
|
5 |
+
huggingface = gr.Textbox(value="unsloth/Meta-Llama-3.1-8B-Instruct", show_label=True, label="huggingface ID")
|
6 |
button = gr.Button(value="get chat template")
|
7 |
output = gr.Textbox(lines=10.0, show_copy_button=True, visible=False)
|
8 |
|