Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -74,7 +74,6 @@ def keygen(eval_key, user_id):
|
|
74 |
|
75 |
print("Initializing FHEModelClient...")
|
76 |
# Let's create a user_id
|
77 |
-
global user_id
|
78 |
user_id = numpy.random.randint(0, 2**32)
|
79 |
fhe_api = FHEModelClient(f"fhe_model", f".fhe_keys/{user_id}")
|
80 |
fhe_api.load()
|
|
|
74 |
|
75 |
print("Initializing FHEModelClient...")
|
76 |
# Let's create a user_id
|
|
|
77 |
user_id = numpy.random.randint(0, 2**32)
|
78 |
fhe_api = FHEModelClient(f"fhe_model", f".fhe_keys/{user_id}")
|
79 |
fhe_api.load()
|