kawaa99 commited on
Commit
f9760bc
·
verified ·
1 Parent(s): 9310c5f

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -189,7 +189,7 @@ generator = load_generator()
189
  @st.cache_resource
190
  def load_detector():
191
  return pipeline(
192
- "text2text-generation",
193
  model="google/flan-t5-base"
194
  )
195
 
 
189
  @st.cache_resource
190
  def load_detector():
191
  return pipeline(
192
+ "text-generation",
193
  model="google/flan-t5-base"
194
  )
195