dla9944 commited on
Commit
17ee3c9
1 Parent(s): ecbc46c

오류 수정

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -1,5 +1,3 @@
1
- from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
2
 
3
- tokenizer = AutoTokenizer.from_pretrained("pszemraj/flan-t5-large-grammar-synthesis")
4
-
5
- model = AutoModelForSeq2SeqLM.from_pretrained("pszemraj/flan-t5-large-grammar-synthesis")
 
1
+ import gradio as gr
2
 
3
+ gr.Interface.load("models/pszemraj/flan-t5-large-grammar-synthesis").launch()