Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -418,7 +418,15 @@ with gr.Blocks() as interface:
|
|
418 |
print(type(usage_display))
|
419 |
print(type(status))
|
420 |
print(type(progress_box))
|
|
|
|
|
|
|
|
|
|
|
421 |
|
|
|
|
|
|
|
422 |
|
423 |
# interface.stream(
|
424 |
# fn=threaded_batch_runner,
|
|
|
418 |
print(type(usage_display))
|
419 |
print(type(status))
|
420 |
print(type(progress_box))
|
421 |
+
from mtdna_backend import increment_usage, load_user_usage
|
422 |
+
|
423 |
+
print("🧪 Increment usage for [email protected]")
|
424 |
+
new_count = increment_usage("[email protected]", 3)
|
425 |
+
print("New usage count:", new_count)
|
426 |
|
427 |
+
print("📊 All usage:")
|
428 |
+
print(load_user_usage())
|
429 |
+
|
430 |
|
431 |
# interface.stream(
|
432 |
# fn=threaded_batch_runner,
|