nikravan commited on
Commit
f0831ab
·
verified ·
1 Parent(s): 4a67d8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -120,13 +120,13 @@ model = AutoModelForCausalLM.from_pretrained(
120
  )
121
 
122
  # Create Gradio interface
123
- gr.Chatbot(
124
  predict,
125
  title=EMOJI + " " + MODEL_NAME,
126
  description=DESCRIPTION,
127
  latex_delimiters=latex_delimiters_set,
128
 
129
-
130
  additional_inputs_accordion=gr.Accordion(label="⚙️ Parameters", open=False),
131
  additional_inputs=[
132
  gr.Textbox("You are a code assistant.", label="System prompt"),
 
120
  )
121
 
122
  # Create Gradio interface
123
+ gr.ChatInterface(
124
  predict,
125
  title=EMOJI + " " + MODEL_NAME,
126
  description=DESCRIPTION,
127
  latex_delimiters=latex_delimiters_set,
128
 
129
+ latex_delimiters=("$$", "$$"),
130
  additional_inputs_accordion=gr.Accordion(label="⚙️ Parameters", open=False),
131
  additional_inputs=[
132
  gr.Textbox("You are a code assistant.", label="System prompt"),