RohanHBTU commited on
Commit
223f3a7
1 Parent(s): a07d0a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,6 +1,6 @@
1
  from flask import Flask, render_template, request, jsonify
2
  import os
3
- os.environ['TRANSFORMERS_CACHE'] = '/blabla/cache/'
4
  #os.environ['SENTENCE_TRANSFORMERS_HOME'] = './.cache'
5
  #from transformers import AutoModelForCausalLM, AutoTokenizer
6
  from transformers import T5Tokenizer, T5ForConditionalGeneration
 
1
  from flask import Flask, render_template, request, jsonify
2
  import os
3
+ os.environ['TRANSFORMERS_CACHE'] = '/code/cache/'
4
  #os.environ['SENTENCE_TRANSFORMERS_HOME'] = './.cache'
5
  #from transformers import AutoModelForCausalLM, AutoTokenizer
6
  from transformers import T5Tokenizer, T5ForConditionalGeneration