Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from huggingface_hub import InferenceClient
|
3 |
import os
|
|
|
4 |
"""
|
5 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
6 |
"""
|
@@ -111,7 +112,7 @@ latex_delimiters = [{
|
|
111 |
"right": "\\]",
|
112 |
"display": True
|
113 |
}]
|
114 |
-
chatbot =
|
115 |
scale=1,
|
116 |
height=400,
|
117 |
latex_delimiters=latex_delimiters)
|
|
|
1 |
import gradio as gr
|
2 |
from huggingface_hub import InferenceClient
|
3 |
import os
|
4 |
+
import modelscope_studio as mgr
|
5 |
"""
|
6 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
7 |
"""
|
|
|
112 |
"right": "\\]",
|
113 |
"display": True
|
114 |
}]
|
115 |
+
chatbot = mgr.Chatbot(label="Chatbot",
|
116 |
scale=1,
|
117 |
height=400,
|
118 |
latex_delimiters=latex_delimiters)
|