João Pedro commited on
Commit
94847d6
·
1 Parent(s): e20ba60

can't use other files in spaces

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -1,7 +1,6 @@
1
  import os
2
  import wandb
3
  import streamlit as st
4
- from constants import PROJECT_NAME
5
  from transformers import LayoutLMv3Processor, LayoutLMv3ForSequenceClassification
6
  from pdf2image import convert_from_bytes
7
  from PIL import Image
@@ -27,7 +26,7 @@ uploaded_file = st.file_uploader(
27
  )
28
 
29
  if uploaded_file:
30
- run = wandb.init(project=PROJECT_NAME, name='feedback-loop')
31
 
32
  if uploaded_file.type == "application/pdf":
33
  images = convert_from_bytes(uploaded_file.getvalue())
 
1
  import os
2
  import wandb
3
  import streamlit as st
 
4
  from transformers import LayoutLMv3Processor, LayoutLMv3ForSequenceClassification
5
  from pdf2image import convert_from_bytes
6
  from PIL import Image
 
26
  )
27
 
28
  if uploaded_file:
29
+ run = wandb.init(project='hydra-classifier', name='feedback-loop')
30
 
31
  if uploaded_file.type == "application/pdf":
32
  images = convert_from_bytes(uploaded_file.getvalue())