Spaces:
Sleeping
Sleeping
Paths fixed
Browse files
app.py
CHANGED
@@ -43,12 +43,12 @@ def perform(input1, input2):
|
|
43 |
|
44 |
print("Path_string = ", path_string)
|
45 |
|
46 |
-
if "no-
|
47 |
#Si el path NO tiene no-result, todo funcion贸 bien, por lo tanto debita.
|
48 |
print("Se obtuvo un resultado, debitaremos.")
|
49 |
#Y finalmente debita los tokens.
|
50 |
gr.State.tokens = sulkuPypi.debitTokens(gr.State.capsule, "picswap")
|
51 |
-
print(f"
|
52 |
html_credits = tools.actualizar_creditos(gr.State.tokens)
|
53 |
print(f"html credits qued贸 como : {html_credits} y es del tipo: {type(html_credits)}")
|
54 |
info_window = "Image ready!"
|
|
|
43 |
|
44 |
print("Path_string = ", path_string)
|
45 |
|
46 |
+
if "no-source-face" not in path_string:
|
47 |
#Si el path NO tiene no-result, todo funcion贸 bien, por lo tanto debita.
|
48 |
print("Se obtuvo un resultado, debitaremos.")
|
49 |
#Y finalmente debita los tokens.
|
50 |
gr.State.tokens = sulkuPypi.debitTokens(gr.State.capsule, "picswap")
|
51 |
+
print(f"Y ahora tienes: {gr.State.tokens} tokens.")
|
52 |
html_credits = tools.actualizar_creditos(gr.State.tokens)
|
53 |
print(f"html credits qued贸 como : {html_credits} y es del tipo: {type(html_credits)}")
|
54 |
info_window = "Image ready!"
|