PeteBleackley commited on
Commit
a469e3a
1 Parent(s): 361f2a4

Fixed yet another typo

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ import gradio as gr
10
  import tokenizers
11
  import transformers
12
 
13
- pipeline = transformers.pipeline('trnalation_en_to_ha',
14
  model='PeteBleackley/t5-small-eng-hau')
15
 
16
  demo = gr.Interface.from_pipeline(pipeline)
 
10
  import tokenizers
11
  import transformers
12
 
13
+ pipeline = transformers.pipeline('translation_en_to_ha',
14
  model='PeteBleackley/t5-small-eng-hau')
15
 
16
  demo = gr.Interface.from_pipeline(pipeline)
requirements.txt CHANGED
@@ -1,3 +1,3 @@
1
  tokenizers
2
- transformers
3
  gradio
 
1
  tokenizers
2
+ transformers[torch]
3
  gradio