Spaces:
Runtime error
Runtime error
fix: remove admiration mark form Extract all, bug fixed
Browse files
app.py
CHANGED
@@ -115,7 +115,7 @@ else:
|
|
115 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
116 |
|
117 |
with col2:
|
118 |
-
if information == 'Extract all
|
119 |
st.text(f'parsing 🧾 (extracting all)...')
|
120 |
pretrained_model, processor, task_prompt = pretrained_model_a, processor_a, f"<s>"
|
121 |
pretrained_model.to(device)
|
|
|
115 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
116 |
|
117 |
with col2:
|
118 |
+
if information == 'Extract all':
|
119 |
st.text(f'parsing 🧾 (extracting all)...')
|
120 |
pretrained_model, processor, task_prompt = pretrained_model_a, processor_a, f"<s>"
|
121 |
pretrained_model.to(device)
|