hyejoo commited on
Commit
86b1e7a
1 Parent(s): 187cff1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,8 +3,8 @@ import gradio as gr
3
  # Load model directly
4
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
5
 
6
- tokenizer = AutoTokenizer.from_pretrained("yeye776/t5-OndeviceAI-HomeIoT")
7
- model = AutoModelForSeq2SeqLM.from_pretrained("yeye776/t5-OndeviceAI-HomeIoT")
8
 
9
  # Gradio 인터페이스 구성
10
  def generate_answer(input_text):
 
3
  # Load model directly
4
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
5
 
6
+ tokenizer = AutoTokenizer.from_pretrained("models/yeye776/OndeviceAI-T5-v1T")
7
+ model = AutoModelForSeq2SeqLM.from_pretrained("models/yeye776/OndeviceAI-T5-v1")
8
 
9
  # Gradio 인터페이스 구성
10
  def generate_answer(input_text):