Spaces:
Runtime error
Runtime error
Commit
·
11f70e4
1
Parent(s):
116c4b9
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
from space_hugging_face import SpaceHuggingFace
|
4 |
+
|
5 |
+
app = gr.App()
|
6 |
+
|
7 |
+
with app:
|
8 |
+
space_hugging_face = SpaceHuggingFace(colors=["#0000ff", "#00ff00", "#ff0000", "#ffff00", "#ff8c00"])
|
9 |
+
gr.Image(space_hugging_face.generate())
|
10 |
+
|
11 |
+
app.launch()
|