hertogateis commited on
Commit
7db7138
·
verified ·
1 Parent(s): 7871f39

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import streamlit as st
2
  import transformers
3
  from transformers import T5Tokenizer, T5ForConditionalGeneration
4
- model_name = "t5-large"
5
  tokenizer = T5Tokenizer.from_pretrained(model_name)
6
  model = T5ForConditionalGeneration.from_pretrained(model_name)
7
  def generate_response(input_text):
 
1
  import streamlit as st
2
  import transformers
3
  from transformers import T5Tokenizer, T5ForConditionalGeneration
4
+ model_name = "t5-base"
5
  tokenizer = T5Tokenizer.from_pretrained(model_name)
6
  model = T5ForConditionalGeneration.from_pretrained(model_name)
7
  def generate_response(input_text):