Spaces:
Build error
Build error
mareloraby
commited on
Commit
•
321642f
1
Parent(s):
9ca39e4
Update app.py
Browse files
app.py
CHANGED
@@ -37,10 +37,10 @@ iface = gr.Interface(fn=generate_response,
|
|
37 |
title = 'BERTShared - topic based generation',
|
38 |
|
39 |
inputs=[
|
40 |
-
gr.inputs.Radio(['حزينه','هجاء','عتاب','غزل','مدح','رومنسيه','دينية'
|
41 |
gr.inputs.Slider(10, 200, step=10,default = 70, label='Top-K'),
|
42 |
gr.inputs.Slider(0.10, 0.99, step=0.02, default = 0.90, label='Top-P'),
|
43 |
-
gr.inputs.Slider(1, 20, step=1, default = 4, label='Beams'),
|
44 |
|
45 |
],
|
46 |
outputs="text")
|
|
|
37 |
title = 'BERTShared - topic based generation',
|
38 |
|
39 |
inputs=[
|
40 |
+
gr.inputs.Radio(['حزينه','هجاء','عتاب','غزل','مدح','رومنسيه','دينية'],label='Choose Topic'),
|
41 |
gr.inputs.Slider(10, 200, step=10,default = 70, label='Top-K'),
|
42 |
gr.inputs.Slider(0.10, 0.99, step=0.02, default = 0.90, label='Top-P'),
|
43 |
+
#gr.inputs.Slider(1, 20, step=1, default = 4, label='Beams'),
|
44 |
|
45 |
],
|
46 |
outputs="text")
|