anirudh-sub commited on
Commit
33bfed7
·
1 Parent(s): e882144

Debugged app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -38,6 +38,5 @@ def debate_response(text):
38
  reponse += {seq['generated_text']}
39
  return resposnse
40
 
41
- text = gr.inputs.Text()
42
- response = gr.outputs.Text()
43
- intf = gr.Interface(fn=debate_response, inputs=text, outputs=response)
 
38
  reponse += {seq['generated_text']}
39
  return resposnse
40
 
41
+ intf = gr.Interface(fn=debate_response, inputs=gr.Textbox(), outputs="text")
42
+ intf.launch()