saritha5 commited on
Commit
be85d9b
1 Parent(s): acd2391

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -63,15 +63,15 @@ def prediction(text):
63
 
64
  demo_app = gr.Interface(
65
  fn=prediction,
66
- inputs=gr.Textbox(label = " Text", max_lines = 20),
67
- outputs= "text",
68
  title = "Text Summarization",
69
  #description = DESCRIPTION,
70
  #examples = EXAMPLES,
71
- cache_example = True,
72
- live = True,
73
  theme = 'huggingface'
74
  )
75
- if __name__ == "__main__":
76
- demo_app.launch()
77
  #demo_app.launch(debug=True, enable_queue = True)
 
63
 
64
  demo_app = gr.Interface(
65
  fn=prediction,
66
+ inputs=gr.Textbox(label = " Enter the Text", max_lines = 20),
67
+ outputs= gr.Textbox(label = "Summarization of text")
68
  title = "Text Summarization",
69
  #description = DESCRIPTION,
70
  #examples = EXAMPLES,
71
+ #cache_example = True,
72
+ #live = True,
73
  theme = 'huggingface'
74
  )
75
+ #if __name__ == "__main__":
76
+ demo_app.launch()
77
  #demo_app.launch(debug=True, enable_queue = True)