Omnibus commited on
Commit
5edf396
·
verified ·
1 Parent(s): 8357551

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -218,9 +218,10 @@ def find_rss():
218
  lod = xmltodict.parse(r.content)
219
  except Exception as e:
220
  lod=f'{rss_url} ::ERROR:: {e}'
221
- else: lod = r.status_code
 
222
  out_box.append(lod)
223
- return lod
224
 
225
  with gr.Blocks() as app:
226
  with gr.Row():
 
218
  lod = xmltodict.parse(r.content)
219
  except Exception as e:
220
  lod=f'{rss_url} ::ERROR:: {e}'
221
+ else:
222
+ lod = r.status_code
223
  out_box.append(lod)
224
+ yield out_box
225
 
226
  with gr.Blocks() as app:
227
  with gr.Row():