Update app.py
Browse files
app.py
CHANGED
@@ -63,6 +63,7 @@ def invoke(prompt):
|
|
63 |
if (completion.text != None):
|
64 |
completion = completion.text
|
65 |
except Exception as e:
|
|
|
66 |
raise gr.Error(e)
|
67 |
finally:
|
68 |
wandb_log(prompt, completion)
|
|
|
63 |
if (completion.text != None):
|
64 |
completion = completion.text
|
65 |
except Exception as e:
|
66 |
+
completion = e
|
67 |
raise gr.Error(e)
|
68 |
finally:
|
69 |
wandb_log(prompt, completion)
|