dylanmeca commited on
Commit
7b9062e
·
1 Parent(s): b9fc0ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ class chatgpt:
25
  self.conversation.append({'role': response.choices[0].message.role, 'content': response.choices[0].message.content})
26
  return self.history, self.history
27
  except* Exception as error:
28
- raise gr.Error(f"{error.exceptions}")
29
 
30
 
31
  def Clean(self):
 
25
  self.conversation.append({'role': response.choices[0].message.role, 'content': response.choices[0].message.content})
26
  return self.history, self.history
27
  except* Exception as error:
28
+ gr.Error(f"{error.exceptions}")
29
 
30
 
31
  def Clean(self):