jdoexbox360 commited on
Commit
9a94120
1 Parent(s): 8c39a5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,6 +18,6 @@ def output(prompt):
18
  output = model.generate(input_ids, max_length=50, num_beams=5, no_repeat_ngram_size=2, early_stopping=True)
19
  convo = tokenizer.decode(output[0], skip_special_tokens=True)
20
  return convo
21
-
22
  iface = gr.Interface(fn=output, inputs="text", outputs="text")
23
  iface.launch()
 
18
  output = model.generate(input_ids, max_length=50, num_beams=5, no_repeat_ngram_size=2, early_stopping=True)
19
  convo = tokenizer.decode(output[0], skip_special_tokens=True)
20
  return convo
21
+ convo = ''
22
  iface = gr.Interface(fn=output, inputs="text", outputs="text")
23
  iface.launch()