Addaci commited on
Commit
41f4897
1 Parent(s): d885415

Update app.py to force installation of 'transformers'

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1,3 +1,4 @@
 
1
  import gradio as gr
2
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
3
 
 
1
+ @install_packages transformers # Forces installation of transformers
2
  import gradio as gr
3
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
4