Spaces:
Runtime error
Runtime error
Commit ·
5d635db
1
Parent(s): 8a53096
removed OPENAI_API_KEY from __init__
Browse files
app.py
CHANGED
|
@@ -30,8 +30,7 @@ def add_text(history, text):
|
|
| 30 |
return history
|
| 31 |
|
| 32 |
class my_app:
|
| 33 |
-
def __init__(self
|
| 34 |
-
self.OPENAI_API_KEY = OPENAI_API_KEY
|
| 35 |
self.chain = None
|
| 36 |
self.chat_history = []
|
| 37 |
self.N = 0
|
|
|
|
| 30 |
return history
|
| 31 |
|
| 32 |
class my_app:
|
| 33 |
+
def __init__(self) -> None:
|
|
|
|
| 34 |
self.chain = None
|
| 35 |
self.chat_history = []
|
| 36 |
self.N = 0
|