dar-tau commited on
Commit
4333b51
·
verified ·
1 Parent(s): 46203c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,5 +28,5 @@ def generate(text):
28
 
29
 
30
  if __name__ == "__main__":
31
- demo = gr.Blocks()
32
  demo.launch()
 
28
 
29
 
30
  if __name__ == "__main__":
31
+ demo = gr.Interface(generate, inputs="textbox", outputs="textbox")
32
  demo.launch()