AnonymousSub commited on
Commit
61493c1
·
verified ·
1 Parent(s): 00abf48

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -97,11 +97,11 @@ uploaded_files = st.file_uploader(
97
  if selection=="Select":
98
  pass
99
  elif selection=="Adobe Firefly":
100
- with open('wiki_1.json', 'r') as fr:
101
- list_1 = json.load(fr)
102
 
103
- # with open('wiki_2.json', 'r') as fr:
104
- # list_2 = json.load(fr)
105
 
106
  tmp_ref_abstract = {}
107
 
@@ -117,7 +117,7 @@ elif selection=="Adobe Firefly":
117
  section_names = [slide_title]*file_count
118
  ref_doc_indices = np.arange(1,file_count+1).tolist()
119
 
120
- list_2 = [
121
  {
122
  "abstract": "Write the '{}' section of the article titled '{}'.".format(slide_title, presentation_title),
123
  "ref_abstract": tmp_ref_abstract
 
97
  if selection=="Select":
98
  pass
99
  elif selection=="Adobe Firefly":
100
+ # with open('wiki_1.json', 'r') as fr:
101
+ # list_1 = json.load(fr)
102
 
103
+ with open('wiki_2.json', 'r') as fr:
104
+ list_2 = json.load(fr)
105
 
106
  tmp_ref_abstract = {}
107
 
 
117
  section_names = [slide_title]*file_count
118
  ref_doc_indices = np.arange(1,file_count+1).tolist()
119
 
120
+ list_1 = [
121
  {
122
  "abstract": "Write the '{}' section of the article titled '{}'.".format(slide_title, presentation_title),
123
  "ref_abstract": tmp_ref_abstract