Spaces:
Sleeping
Sleeping
GouthamVicky
commited on
Commit
•
3e5a899
1
Parent(s):
c73a1e6
invalid api flow
Browse files
app.py
CHANGED
@@ -69,7 +69,8 @@ class ChatWrapper:
|
|
69 |
output = chain.predict(input=inp)
|
70 |
history.append((inp, output))
|
71 |
except Exception as e:
|
72 |
-
|
|
|
73 |
finally:
|
74 |
self.lock.release()
|
75 |
return history, history
|
|
|
69 |
output = chain.predict(input=inp)
|
70 |
history.append((inp, output))
|
71 |
except Exception as e:
|
72 |
+
history.append((inp, "Invalid API key, Please paste Valid API key to use ZolBot Agent"))
|
73 |
+
return history, history
|
74 |
finally:
|
75 |
self.lock.release()
|
76 |
return history, history
|