mgupta70 commited on
Commit
efa2752
1 Parent(s): 4a12d53

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -8,7 +8,7 @@ import openai
8
  os.environ['OPENAI_API_KEY'] = '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'
9
 
10
  # rebuild storage context
11
- storage_context = StorageContext.from_defaults(persist_dir="index_dir")
12
 
13
  # load index
14
  index = load_index_from_storage(storage_context)
@@ -45,9 +45,4 @@ gr.Interface(
45
  ).launch()
46
 
47
  import gradio as gr
48
- # def sketch_recognition(img):
49
- # pass# Implement your sketch recognition model here...
50
 
51
- # gr.Interface(fn=sketch_recognition, inputs="sketchpad", outputs="label", title=title,
52
- # description=description,
53
- # article=article,).launch()
 
8
  os.environ['OPENAI_API_KEY'] = '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'
9
 
10
  # rebuild storage context
11
+ storage_context = StorageContext.from_defaults(persist_dir="index_dir_full")
12
 
13
  # load index
14
  index = load_index_from_storage(storage_context)
 
45
  ).launch()
46
 
47
  import gradio as gr
 
 
48