Spaces:
Running
on
Zero
Running
on
Zero
initial commit
Browse files
app.py
CHANGED
@@ -36,6 +36,7 @@ GOT-OCR-2.0 can handle:
|
|
36 |
🌟TeamTonic🌟 is always making cool demos! Join our active builder's 🛠️community 👻 [](https://discord.gg/qdfnvSPcqP) On 🤗Huggingface:[MultiTransformer](https://huggingface.co/MultiTransformer) On 🌐Github: [Tonic-AI](https://github.com/tonic-ai) & contribute to🌟 [Build Tonic](https://git.tonic-ai.com/contribute)🤗Big thanks to Yuvi Sharma and all the folks at huggingface for the community grant 🤗
|
37 |
"""
|
38 |
|
|
|
39 |
|
40 |
tokenizer = AutoTokenizer.from_pretrained('ucaslcl/GOT-OCR2_0', trust_remote_code=True)
|
41 |
config = AutoConfig.from_pretrained(model_name, trust_remote_code=True)
|
|
|
36 |
🌟TeamTonic🌟 is always making cool demos! Join our active builder's 🛠️community 👻 [](https://discord.gg/qdfnvSPcqP) On 🤗Huggingface:[MultiTransformer](https://huggingface.co/MultiTransformer) On 🌐Github: [Tonic-AI](https://github.com/tonic-ai) & contribute to🌟 [Build Tonic](https://git.tonic-ai.com/contribute)🤗Big thanks to Yuvi Sharma and all the folks at huggingface for the community grant 🤗
|
37 |
"""
|
38 |
|
39 |
+
model_name = 'ucaslcl/GOT-OCR2_0'
|
40 |
|
41 |
tokenizer = AutoTokenizer.from_pretrained('ucaslcl/GOT-OCR2_0', trust_remote_code=True)
|
42 |
config = AutoConfig.from_pretrained(model_name, trust_remote_code=True)
|