Tahsin-Mayeesha commited on
Commit
10f2f6d
1 Parent(s): 2f00cc5
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -53,11 +53,10 @@ demo = gr.Interface(fn=generate_questions, inputs=[gr.Dropdown(label="Model", ch
53
  gr.Checkbox(label="Do Random Sample",value=False),
54
  gr.Slider(0, 50, value=None, step=1, label="Top K"),
55
  gr.Slider(0, 1, value=None, label="Top P/Nucleus Sampling"),
56
- gr.Slider(0.01, 1, value=None, label="Temperature") ] ,
57
  # output
58
  outputs=gr.Textbox(label='Question'),
59
  examples=[["banglat5",example_context,example_answer]],
60
  cache_examples=False,
61
- title="Bangla Question Generation",
62
- description="Get the Question from given Context and an Answer")
63
  demo.launch()
 
53
  gr.Checkbox(label="Do Random Sample",value=False),
54
  gr.Slider(0, 50, value=None, step=1, label="Top K"),
55
  gr.Slider(0, 1, value=None, label="Top P/Nucleus Sampling"),
56
+ gr.Slider(0, 1, value=None, label="Temperature") ] ,
57
  # output
58
  outputs=gr.Textbox(label='Question'),
59
  examples=[["banglat5",example_context,example_answer]],
60
  cache_examples=False,
61
+ title="Bangla Question Generation")
 
62
  demo.launch()