HycJack commited on
Commit
6178ed5
·
1 Parent(s): b6e0d6b
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +2 -0
app.py CHANGED
@@ -2,7 +2,7 @@ import os
2
  os.environ["PYTORCH_ENABLE_MPS_FALLBACK"] = "1" # For some reason, transformers decided to use .isin for a simple op, which is not supported on MPS
3
  from pip._internal import main
4
 
5
- main(['install', '-r', 'streamlit_drawable_canvas'])
6
  import io
7
 
8
  import pandas as pd
 
2
  os.environ["PYTORCH_ENABLE_MPS_FALLBACK"] = "1" # For some reason, transformers decided to use .isin for a simple op, which is not supported on MPS
3
  from pip._internal import main
4
 
5
+ main(['install', '-r', 'requirements.txt'])
6
  import io
7
 
8
  import pandas as pd
requirements.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ streamlit_drawable_canvas
2
+ pypdfium2