Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -83,7 +83,7 @@ else:
|
|
| 83 |
st.image(image, caption='Your target document')
|
| 84 |
|
| 85 |
with st.spinner(f'Processing the document ...'):
|
| 86 |
-
pre_trained_model = "unstructuredio/chipper-v3
|
| 87 |
processor = DonutProcessor.from_pretrained(pre_trained_model, token=os.environ['HF_TOKEN'])
|
| 88 |
|
| 89 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
|
|
| 83 |
st.image(image, caption='Your target document')
|
| 84 |
|
| 85 |
with st.spinner(f'Processing the document ...'):
|
| 86 |
+
pre_trained_model = "unstructuredio/chipper-v3"
|
| 87 |
processor = DonutProcessor.from_pretrained(pre_trained_model, token=os.environ['HF_TOKEN'])
|
| 88 |
|
| 89 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|