Kevin Fink commited on
Commit
3ae598a
·
1 Parent(s): 93bb0c2
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -144,7 +144,7 @@ def predict(text):
144
  '''
145
  # Create Gradio interface
146
  try:
147
- model = AutoModelForSeq2SeqLM.from_pretrained(model_name.strip(), num_labels=2, force_download=True)
148
  iface = gr.Interface(
149
  fn=fine_tune_model,
150
  inputs=[
 
144
  '''
145
  # Create Gradio interface
146
  try:
147
+ model = AutoModelForSeq2SeqLM.from_pretrained('google/t5-efficient-tiny-nh8'.strip(), num_labels=2, force_download=True)
148
  iface = gr.Interface(
149
  fn=fine_tune_model,
150
  inputs=[