amish1706 commited on
Commit
91b3676
·
verified ·
1 Parent(s): 061e71d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ def generate_response(message, history):
64
 
65
  def upload_file(data_file):
66
  with open(data_file.name, "r") as f:
67
- data = json.load(f)
68
  gr.Info("Project file Uploaded. You can now query the document")
69
  # with open("/content/project_data.json", "w") as f:
70
  # json.dump(data, f)
 
64
 
65
  def upload_file(data_file):
66
  with open(data_file.name, "r") as f:
67
+ data = json.load(f)
68
  gr.Info("Project file Uploaded. You can now query the document")
69
  # with open("/content/project_data.json", "w") as f:
70
  # json.dump(data, f)