Spaces:
Running
Running
Commit
·
6493d23
1
Parent(s):
548d2ed
Update space
Browse files
app.py
CHANGED
|
@@ -92,7 +92,7 @@ def sampling(num_samples, num_associations):
|
|
| 92 |
dot.render('synthnet', format='png')
|
| 93 |
return 'synthnet.png'
|
| 94 |
|
| 95 |
-
demo =
|
| 96 |
inputs=[
|
| 97 |
gr.Slider(minimum=1, maximum=256, label="Number of Samples"),
|
| 98 |
gr.Slider(minimum=1, maximum=256, label="Number of Associations to each Sample"),
|
|
|
|
| 92 |
dot.render('synthnet', format='png')
|
| 93 |
return 'synthnet.png'
|
| 94 |
|
| 95 |
+
demo = gr.Interface(
|
| 96 |
inputs=[
|
| 97 |
gr.Slider(minimum=1, maximum=256, label="Number of Samples"),
|
| 98 |
gr.Slider(minimum=1, maximum=256, label="Number of Associations to each Sample"),
|