Spaces:
Runtime error
Runtime error
add name is main condition
Browse files
app.py
CHANGED
@@ -276,7 +276,7 @@ outro_text ="""
|
|
276 |
- [] gradio examples
|
277 |
- [] use GPU if available, respect memory restrictions.
|
278 |
- [x] stream model generation (maybe in a new window?) - janky solution and only sometimes hangs up
|
279 |
-
- [] 2nd iFrame needs a lot of fixing (I am not a web developer, need help)
|
280 |
- [] (optional) filtering the dataset by license?
|
281 |
|
282 |
### Notes:
|
@@ -650,5 +650,7 @@ with gr.Blocks() as site:
|
|
650 |
)
|
651 |
sample_code.change(fn=list_dropdown, inputs=[sample_code], outputs=[funcs, func_dropdown]).then(
|
652 |
fn=make_iframe, inputs=[sample_code], outputs=[our_embed])
|
653 |
-
|
654 |
-
|
|
|
|
|
|
276 |
- [] gradio examples
|
277 |
- [] use GPU if available, respect memory restrictions.
|
278 |
- [x] stream model generation (maybe in a new window?) - janky solution and only sometimes hangs up
|
279 |
+
- [] 2nd iFrame needs a lot of fixing (I am not a web developer, need help) BUG:background is white, so colors are wrong. Shadertoy uses black background (or we ignore alpha).
|
280 |
- [] (optional) filtering the dataset by license?
|
281 |
|
282 |
### Notes:
|
|
|
650 |
)
|
651 |
sample_code.change(fn=list_dropdown, inputs=[sample_code], outputs=[funcs, func_dropdown]).then(
|
652 |
fn=make_iframe, inputs=[sample_code], outputs=[our_embed])
|
653 |
+
|
654 |
+
if __name__ == "__main__": #works on huggingface?
|
655 |
+
site.queue()
|
656 |
+
site.launch()
|