Spaces:
Sleeping
Sleeping
Test state
Browse files
app.py
CHANGED
@@ -51,8 +51,7 @@ def perform(input1, input2):
|
|
51 |
path = mass(input1,input2)
|
52 |
|
53 |
else:
|
54 |
-
|
55 |
-
info_window = "Out of tokens..."
|
56 |
path = 'no-result.png'
|
57 |
return path, info_window, btn_buy
|
58 |
|
@@ -126,7 +125,7 @@ with gr.Blocks(theme=gr.themes.Base(), css="footer {visibility: hidden}") as mai
|
|
126 |
|
127 |
gr.Label(visible=False, scale=5)
|
128 |
gr.Label(visible=False, scale=5)
|
129 |
-
lbl_credits = gr.Label(label="Credits Available", value=
|
130 |
|
131 |
with gr.Row():
|
132 |
|
|
|
51 |
path = mass(input1,input2)
|
52 |
|
53 |
else:
|
54 |
+
info_window = "Out of credits..."
|
|
|
55 |
path = 'no-result.png'
|
56 |
return path, info_window, btn_buy
|
57 |
|
|
|
125 |
|
126 |
gr.Label(visible=False, scale=5)
|
127 |
gr.Label(visible=False, scale=5)
|
128 |
+
lbl_credits = gr.Label(label="Credits Available", value="20", scale=1)
|
129 |
|
130 |
with gr.Row():
|
131 |
|