samuelinferences
commited on
Commit
•
29bdc42
1
Parent(s):
fca085d
Update app.py
Browse files
app.py
CHANGED
@@ -107,7 +107,7 @@ The GP (approximated) uses an RBF Kernel with a little noise (1e-4), 0 mean and
|
|
107 |
''',
|
108 |
article="<p style='text-align: center'><a href='https://arxiv.org/abs/2112.10510'>Paper: Transformers Can Do Bayesian Inference</a></p>",
|
109 |
inputs=[
|
110 |
-
gr.inputs.Dataframe(headers=["x", "y"], datatype=["number", "number"],
|
111 |
gr.inputs.Radio(['160K','800K','4M'], type="value", default='4M', label='Number of Sampled Datasets in Training (Training Costs), higher values yield better results')
|
112 |
], outputs=["text",gr.outputs.Plot(type="matplotlib")])
|
113 |
iface.launch()
|
|
|
107 |
''',
|
108 |
article="<p style='text-align: center'><a href='https://arxiv.org/abs/2112.10510'>Paper: Transformers Can Do Bayesian Inference</a></p>",
|
109 |
inputs=[
|
110 |
+
gr.inputs.Dataframe(headers=["x", "y"], datatype=["number", "number"], type='numpy', default=[['.25','.1'],['.75','.4']], col_count=2, label='The data: you can change this and increase the number of data points using the `enter` key.'),
|
111 |
gr.inputs.Radio(['160K','800K','4M'], type="value", default='4M', label='Number of Sampled Datasets in Training (Training Costs), higher values yield better results')
|
112 |
], outputs=["text",gr.outputs.Plot(type="matplotlib")])
|
113 |
iface.launch()
|