Spaces:
Sleeping
Sleeping
Textbox correct outputs
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ def perform(input1, input2):
|
|
54 |
print("No tienes suficientes tokens...")
|
55 |
info_window = "Out of tokens..."
|
56 |
path = 'no-result.png'
|
57 |
-
return path, info_window
|
58 |
|
59 |
print(f"El path final fue {path}, si es no-result, no debites y controla la info window.")
|
60 |
print(f"El type de path es: ", type(path))
|
@@ -62,7 +62,6 @@ def perform(input1, input2):
|
|
62 |
|
63 |
print("Convirtiendo path a string...")
|
64 |
path_string = str(path)
|
65 |
-
|
66 |
|
67 |
|
68 |
print("Path_string = ", path_string)
|
@@ -83,7 +82,7 @@ def perform(input1, input2):
|
|
83 |
#No se hizo un proceso, por lo tanto no debitaremos.
|
84 |
#En el futuro, como regla de negocio, podría cambiar y que si debitemos.
|
85 |
|
86 |
-
return path, info_window, btn_buy
|
87 |
|
88 |
|
89 |
# print("Estoy en las declaraciones...")
|
|
|
54 |
print("No tienes suficientes tokens...")
|
55 |
info_window = "Out of tokens..."
|
56 |
path = 'no-result.png'
|
57 |
+
return "Desde funcion", path, info_window, btn_buy
|
58 |
|
59 |
print(f"El path final fue {path}, si es no-result, no debites y controla la info window.")
|
60 |
print(f"El type de path es: ", type(path))
|
|
|
62 |
|
63 |
print("Convirtiendo path a string...")
|
64 |
path_string = str(path)
|
|
|
65 |
|
66 |
|
67 |
print("Path_string = ", path_string)
|
|
|
82 |
#No se hizo un proceso, por lo tanto no debitaremos.
|
83 |
#En el futuro, como regla de negocio, podría cambiar y que si debitemos.
|
84 |
|
85 |
+
return "Desde funcion", path, info_window, btn_buy
|
86 |
|
87 |
|
88 |
# print("Estoy en las declaraciones...")
|