MorenoLaQuatra commited on
Commit
52a052e
1 Parent(s): 7c7422b

Removed load

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def predict(text, max_length=64, temperature=0.7, do_sample=True):
21
  out_text = out_text.replace("\n", "<br>")
22
  return out_text
23
 
24
- iface = gr.Interface.load(
25
  fn=predict,
26
  inputs=[
27
  gr.inputs.Textbox(lines=5, label="Input Text"),
21
  out_text = out_text.replace("\n", "<br>")
22
  return out_text
23
 
24
+ iface = gr.Interface(
25
  fn=predict,
26
  inputs=[
27
  gr.inputs.Textbox(lines=5, label="Input Text"),