MindLabUnimib commited on
Commit
93f6e7c
·
1 Parent(s): a7e0131

feat: add minimal interface

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -40,3 +40,6 @@ def generate(message):
40
 
41
  return response, classifier(text)
42
 
 
 
 
 
40
 
41
  return response, classifier(text)
42
 
43
+
44
+ demo = gr.Interface(fn=generate, inputs=gr.Text(), outputs=gr.Text())
45
+ demo.launch()