aashay26 commited on
Commit
9b04a4e
·
1 Parent(s): 65d5663

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def predict(text,nw):
35
 
36
  with gr.Blocks(css=".x {font-weight:bold}") as demo:
37
  text = gr.Textbox(label="Write Something :",elem_classes="x")
38
- nw = gr.inputs.Dropdown(choices=[1,2,3,4,5], label="Select no of words to be predicted",elem_classes="x")
39
  output = gr.Textbox(label="Output Box",elem_classes="x")
40
  predict_btn = gr.Button("Predict next Words !!",elem_classes="x")
41
  predict_btn.click(fn=predict, inputs=[text,nw], outputs=output)
 
35
 
36
  with gr.Blocks(css=".x {font-weight:bold}") as demo:
37
  text = gr.Textbox(label="Write Something :",elem_classes="x")
38
+ nw = gr.inputs.Dropdown(choices=[1,2,3,4,5], label="Select no of words to be predicted")
39
  output = gr.Textbox(label="Output Box",elem_classes="x")
40
  predict_btn = gr.Button("Predict next Words !!",elem_classes="x")
41
  predict_btn.click(fn=predict, inputs=[text,nw], outputs=output)