Spaces:
Runtime error
Runtime error
NeonBohdan
commited on
Commit
•
91fbea0
1
Parent(s):
6f9c10f
Personas empty by default
Browse files
shared.py
CHANGED
@@ -38,7 +38,7 @@ class ModelConfig(BaseModel):
|
|
38 |
|
39 |
|
40 |
class Client:
|
41 |
-
def __init__(self, api_url, api_key, personas):
|
42 |
self.api_url = api_url
|
43 |
self.api_key = api_key
|
44 |
self.input_personas = personas
|
|
|
38 |
|
39 |
|
40 |
class Client:
|
41 |
+
def __init__(self, api_url, api_key, personas = {}):
|
42 |
self.api_url = api_url
|
43 |
self.api_key = api_key
|
44 |
self.input_personas = personas
|