Spaces:
Sleeping
Sleeping
Creditos as global
Browse files
app.py
CHANGED
@@ -115,11 +115,11 @@ destination_image = gr.Image(label="Destination")
|
|
115 |
|
116 |
#Outputs
|
117 |
print("En éste momento estoy creando los outputs...")
|
118 |
-
|
119 |
result_image = gr.Image(label="Blend Result")
|
120 |
-
txt_credits = gr.Textbox(label="Credits Available", value="
|
121 |
-
html_credits = gr.HTML("""
|
122 |
-
<div style="text-align: right;">💶<b>Credits Available:</b>
|
123 |
""")
|
124 |
|
125 |
lbl_console = gr.Label(label="AI Terminal Messages", value="AI Engine ready...", container=True)
|
|
|
115 |
|
116 |
#Outputs
|
117 |
print("En éste momento estoy creando los outputs...")
|
118 |
+
creditos = 999
|
119 |
result_image = gr.Image(label="Blend Result")
|
120 |
+
txt_credits = gr.Textbox(label="Credits Available", value="", interactive=False)
|
121 |
+
html_credits = gr.HTML(f"""
|
122 |
+
<div style="text-align: right;">💶<b>Credits Available:</b>{creditos}</div>
|
123 |
""")
|
124 |
|
125 |
lbl_console = gr.Label(label="AI Terminal Messages", value="AI Engine ready...", container=True)
|