Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -111,11 +111,11 @@ latex_delimiters = [{
|
|
111 |
"left": "\\[",
|
112 |
"right": "\\]",
|
113 |
"display": True
|
114 |
-
}]
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
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 |
-
|
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 |
|