jerome-white commited on
Commit
32d4c53
·
1 Parent(s): 24a698a
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -1,13 +1,11 @@
1
  import os
2
  import json
3
  import collections as cl
4
- from dataclasses import dataclass
5
 
6
  import gradio as gr
7
  from openai import OpenAI
8
 
9
  from mylib import (
10
- Logger,
11
  FileManager,
12
  ChatController,
13
  MessageHandler,
@@ -36,7 +34,7 @@ def load():
36
 
37
  def eject(state):
38
  state.database.cleanup()
39
- stat.chat.cleanup()
40
 
41
  def upload(data, state):
42
  return state.database(data)
 
1
  import os
2
  import json
3
  import collections as cl
 
4
 
5
  import gradio as gr
6
  from openai import OpenAI
7
 
8
  from mylib import (
 
9
  FileManager,
10
  ChatController,
11
  MessageHandler,
 
34
 
35
  def eject(state):
36
  state.database.cleanup()
37
+ state.chat.cleanup()
38
 
39
  def upload(data, state):
40
  return state.database(data)