Spaces:
Build error
Build error
update the key condition
Browse files
app.py
CHANGED
|
@@ -57,7 +57,7 @@ def process_chunks(openaikeystr,inputtext):
|
|
| 57 |
|
| 58 |
# api_key=openaikeystr,
|
| 59 |
# )
|
| 60 |
-
if hugapikey
|
| 61 |
realkey=openaikeystr
|
| 62 |
else:
|
| 63 |
realkey=hugapikey
|
|
|
|
| 57 |
|
| 58 |
# api_key=openaikeystr,
|
| 59 |
# )
|
| 60 |
+
if hugapikey=='test':
|
| 61 |
realkey=openaikeystr
|
| 62 |
else:
|
| 63 |
realkey=hugapikey
|