RefalMachine commited on
Commit
30089e8
·
verified ·
1 Parent(s): c98090e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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 = gr.Chatbot(label="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)