Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -144,7 +144,7 @@ def get_data():
|
|
144 |
|
145 |
|
146 |
def chat(id, npc, prompt):
|
147 |
-
if
|
148 |
return "no coin"
|
149 |
|
150 |
# model inference
|
|
|
144 |
|
145 |
|
146 |
def chat(id, npc, prompt):
|
147 |
+
if get_coin(id) == 0:
|
148 |
return "no coin"
|
149 |
|
150 |
# model inference
|