priyasaravana commited on
Commit
5036f75
1 Parent(s): 01133dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -29,7 +29,8 @@ def predict(sentence):
29
 
30
  gradio.Interface(
31
  fn=predict,
32
- inputs="text",
33
  outputs="text",
34
- allow_flagging='never'
 
35
  ).launch()
 
29
 
30
  gradio.Interface(
31
  fn=predict,
32
+ inputs=gradio.inputs.Textbox(label="Enter Code Snippet:", placeholder="Type here...", lines=2),
33
  outputs="text",
34
+ allow_flagging='never',
35
+ title="Code Summarization"
36
  ).launch()