Moibe commited on
Commit
d242b0d
·
1 Parent(s): 1e41609

Layout ready

Browse files
Files changed (1) hide show
  1. app.py +2 -20
app.py CHANGED
@@ -114,20 +114,10 @@ destination_image = gr.Image(label="Destination")
114
  #Outputs
115
  result_image = gr.Image(label="Blend Result")
116
  txt_credits = gr.Textbox(label="Credits Available", value="206", interactive=False)
117
- html_credits1 = 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
- html_credits = gr.Markdown("""
128
- **Credits Available:** 205.
129
- """)
130
-
131
 
132
  lbl_console = gr.Label(label="AI Terminal Messages", value="AI Engine ready...", container=True)
133
  btn_buy = gr.Button("Buy More", visible=False, size='lg')
@@ -144,14 +134,6 @@ btn_buy = gr.Button("Buy More", visible=False, size='lg')
144
  valor = ""
145
 
146
  with gr.Blocks(theme=gr.themes.Base(), css="footer {visibility: hidden}") as main:
147
-
148
- # with gr.Row():
149
- # gr.Markdown(visible=True)
150
- # gr.Markdown(visible=True)
151
- # gr.Markdown(visible=True)
152
- # #lbl_credits = gr.Label(label="Credits Available", value=valor, scale=1)
153
- # html_credits = gr.HTML("<div>Credits = 205</div>")
154
- # #result_image.change(fn=display_tokens, outputs=lbl_credits)
155
 
156
  with gr.Row():
157
 
 
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
 
122
  lbl_console = gr.Label(label="AI Terminal Messages", value="AI Engine ready...", container=True)
123
  btn_buy = gr.Button("Buy More", visible=False, size='lg')
 
134
  valor = ""
135
 
136
  with gr.Blocks(theme=gr.themes.Base(), css="footer {visibility: hidden}") as main:
 
 
 
 
 
 
 
 
137
 
138
  with gr.Row():
139