aframson commited on
Commit
5197b70
1 Parent(s): 52e81e5
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,5 +13,5 @@ def Generate(context):
13
  generated_text = model.generate(context_tokens, max_new_tokens=10)[0].tolist()
14
  return tokenizer._decode(generated_text)
15
 
16
- iface = gr.ChatInterface(fn=Generate, inputs="text", outputs="text")
17
  iface.launch()
 
13
  generated_text = model.generate(context_tokens, max_new_tokens=10)[0].tolist()
14
  return tokenizer._decode(generated_text)
15
 
16
+ iface = gr.Interface(fn=Generate, inputs="text", outputs="text")
17
  iface.launch()