nikravan commited on
Commit
4f09fd3
·
verified ·
1 Parent(s): 7e02eeb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -121,7 +121,7 @@ model = AutoModelForCausalLM.from_pretrained(
121
 
122
  # Create Gradio interface
123
  with gr.Blocks(theme=gr.themes.Soft(primary_hue=COLOR)) as demo:
124
- chatbot = gr.Chatbot(label=EMOJI + " " + MODEL_NAME, latex=True)
125
  system_prompt = gr.Textbox("You are a code assistant.", label="System prompt")
126
  temperature = gr.Slider(0, 1, 0.3, label="Temperature")
127
  max_new_tokens = gr.Slider(128, 4096, 1024, label="Max new tokens")
 
121
 
122
  # Create Gradio interface
123
  with gr.Blocks(theme=gr.themes.Soft(primary_hue=COLOR)) as demo:
124
+ chatbot = gr.Chatbot(label=EMOJI + " " + MODEL_NAME, latex_delimiters=latex_delimiters_set)
125
  system_prompt = gr.Textbox("You are a code assistant.", label="System prompt")
126
  temperature = gr.Slider(0, 1, 0.3, label="Temperature")
127
  max_new_tokens = gr.Slider(128, 4096, 1024, label="Max new tokens")