Moibe commited on
Commit
e51b03a
·
1 Parent(s): 0cb4517

Test state

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -51,8 +51,7 @@ def perform(input1, input2):
51
  path = mass(input1,input2)
52
 
53
  else:
54
- print("No tienes suficientes tokens...")
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=gr.State.tokens, scale=1)
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