anmolmore commited on
Commit
30864aa
1 Parent(s): fe5c766

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -2,7 +2,11 @@ import torch
2
  from flask import Flask, render_template, request
3
  from difflib import HtmlDiff
4
  import pandas as pd
 
 
 
5
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, T5ForConditionalGeneration
 
6
  app = Flask(__name__)
7
 
8
  # Load Grammarly Coedit-Large model
 
2
  from flask import Flask, render_template, request
3
  from difflib import HtmlDiff
4
  import pandas as pd
5
+
6
+ import os
7
+ #os.environ['HF_HOME'] = '/remote/t3dev4/anmolm/sanchit/mlapp/huggingface'
8
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, T5ForConditionalGeneration
9
+
10
  app = Flask(__name__)
11
 
12
  # Load Grammarly Coedit-Large model