Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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-
|
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):
|