RefalMachine commited on
Commit
3910665
·
verified ·
1 Parent(s): b4df1b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -111,11 +111,11 @@ latex_delimiters = [{
111
  "left": "\\[",
112
  "right": "\\]",
113
  "display": True
114
- }]
115
- #chatbot = mgr.Chatbot(label="Chatbot",
116
- # scale=1,
117
- # height=400,
118
- # latex_delimiters=latex_delimiters)
119
  demo = gr.ChatInterface(
120
  respond,
121
  additional_inputs=[
@@ -132,7 +132,7 @@ demo = gr.ChatInterface(
132
  ),
133
  gr.Slider(minimum=0.9, maximum=1.5, value=1.05, step=0.05, label="repetition_penalty"),
134
  ],
135
- # chatbot=chatbot,
136
  concurrency_limit=10
137
  )
138
 
 
111
  "left": "\\[",
112
  "right": "\\]",
113
  "display": True
114
+ }, {"left": "$$", "right": "$$", "display": True}]
115
+ chatbot = gr.Chatbot(label="Chatbot",
116
+ scale=1,
117
+ height=400,
118
+ latex_delimiters=latex_delimiters)
119
  demo = gr.ChatInterface(
120
  respond,
121
  additional_inputs=[
 
132
  ),
133
  gr.Slider(minimum=0.9, maximum=1.5, value=1.05, step=0.05, label="repetition_penalty"),
134
  ],
135
+ chatbot=chatbot,
136
  concurrency_limit=10
137
  )
138