Moibe commited on
Commit
bb7a620
·
1 Parent(s): 878a922

Creditos as global

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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
- time.sleep(32)
119
  result_image = gr.Image(label="Blend Result")
120
- txt_credits = gr.Textbox(label="Credits Available", value="206", interactive=False)
121
- html_credits = gr.HTML("""
122
- <div style="text-align: right;">💶<b>Credits Available:</b> 206</div>
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)