abidlabs HF staff commited on
Commit
39427a3
1 Parent(s): f4a7a58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -7,8 +7,6 @@ pipe = pipeline("translation", model="t5-base")
7
  def predict(text):
8
  return pipe(text)[0]["translation_text"]
9
 
10
- title = "English to Spanish Translation (forked from osanseviero/test_gradio)"
11
-
12
  iface = gr.Interface(
13
  fn=predict,
14
  inputs=[gr.inputs.Textbox(label="text", lines=3)],
 
7
  def predict(text):
8
  return pipe(text)[0]["translation_text"]
9
 
 
 
10
  iface = gr.Interface(
11
  fn=predict,
12
  inputs=[gr.inputs.Textbox(label="text", lines=3)],