Spaces:
Sleeping
Sleeping
Credits as html
Browse files
app.py
CHANGED
@@ -113,11 +113,15 @@ destination_image = gr.Image(label="Destination")
|
|
113 |
|
114 |
#Outputs
|
115 |
result_image = gr.Image(label="Blend Result")
|
116 |
-
txt_credits = gr.Textbox(label="Credits Available", value="
|
117 |
-
#html_credits = gr.HTML("<div><b>Credits Available</b> = 205</div>")
|
118 |
-
|
119 |
html_credits = gr.HTML("""
|
120 |
-
<div><b>Credits Available</b> =
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
""")
|
122 |
|
123 |
|
|
|
113 |
|
114 |
#Outputs
|
115 |
result_image = gr.Image(label="Blend Result")
|
116 |
+
txt_credits = gr.Textbox(label="Credits Available", value="206", interactive=False)
|
|
|
|
|
117 |
html_credits = gr.HTML("""
|
118 |
+
<div style="text-align: right;"><b>Credits Available</b> = 206</div>
|
119 |
+
""")
|
120 |
+
|
121 |
+
html_circle = gr.HTML("""
|
122 |
+
<svg width="200" height="200">
|
123 |
+
<circle cx="100" cy="100" r="50" fill="red" />
|
124 |
+
</svg>
|
125 |
""")
|
126 |
|
127 |
|