akoksal commited on
Commit
843f9d2
·
1 Parent(s): e8f27bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -21,8 +21,9 @@ def predict(instruction, topp, temperature):
21
 
22
  return x
23
 
24
- iface = gr.Interface(fn=predict, inputs=["text",\\
25
- gr.inputs.Slider(0, 2, default=1, label="temperature"),\
26
- gr.inputs.Slider(0, 1, default=0.90, label="top_p")]
27
- , outputs="text")
 
28
  iface.launch()
 
21
 
22
  return x
23
 
24
+ iface = gr.Interface(fn=predict, inputs=["text",
25
+ gr.inputs.Slider(0, 2, default=1, label="temperature"),
26
+ gr.inputs.Slider(0, 1, default=0.90, label="top_p")
27
+ ],
28
+ outputs="text")
29
  iface.launch()