mgokg commited on
Commit
9563792
·
verified ·
1 Parent(s): 1c483cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -151,11 +151,11 @@ with gr.Blocks() as demo:
151
  #dict_data = json.loads(result[1])
152
  #values = list(result.values())
153
  # Return the value at index 1
154
- #json_data =result[1][1]
155
  #json_data=gr.Markdown()
156
- return result
157
  #return result[1]
158
- #return dict_data
159
 
160
  with gr.Row():
161
  clearbutton = gr.Button("Clear")
 
151
  #dict_data = json.loads(result[1])
152
  #values = list(result.values())
153
  # Return the value at index 1
154
+ json_data =result[0][1][1]
155
  #json_data=gr.Markdown()
156
+ #return result
157
  #return result[1]
158
+ return json_data
159
 
160
  with gr.Row():
161
  clearbutton = gr.Button("Clear")