ClueAI commited on
Commit
1b365a3
1 Parent(s): 77b64d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1,5 +1,6 @@
1
  import os
2
  import gradio as gr
 
3
  from transformers import T5Tokenizer, T5ForConditionalGeneration
4
  tokenizer = T5Tokenizer.from_pretrained("ClueAI/ChatYuan-large-v2")
5
  model = T5ForConditionalGeneration.from_pretrained("ClueAI/ChatYuan-large-v2")
 
1
  import os
2
  import gradio as gr
3
+ import clueai
4
  from transformers import T5Tokenizer, T5ForConditionalGeneration
5
  tokenizer = T5Tokenizer.from_pretrained("ClueAI/ChatYuan-large-v2")
6
  model = T5ForConditionalGeneration.from_pretrained("ClueAI/ChatYuan-large-v2")