Omnibus commited on
Commit
61eea2b
·
1 Parent(s): e68fdb1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -29,8 +29,9 @@ def query2(fetch_url):
29
  def find_fn(inp,out_json):
30
  print(out_json['rows'])
31
  print (inp)
32
-
33
- return(f'{out_json}["{inp}"]')
 
34
  with gr.Blocks() as app:
35
  with gr.Row():
36
  data_set_url=gr.Textbox()
 
29
  def find_fn(inp,out_json):
30
  print(out_json['rows'])
31
  print (inp)
32
+ for row in out_json['rows']:
33
+ print row['image']['source']
34
+ return(f'{out_json}["rows"][0]')
35
  with gr.Blocks() as app:
36
  with gr.Row():
37
  data_set_url=gr.Textbox()