Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -242,6 +242,8 @@ def find_rss():
|
|
242 |
lods = {"title":r_title, "description":r_description,"link":r_link}
|
243 |
link_box.append(lods)
|
244 |
lod={lod['rss']['channel']['title']:link_box}
|
|
|
|
|
245 |
except Exception as e:
|
246 |
#print(f'{ea["source"]}')
|
247 |
#print(f'{ea["link"]}')
|
@@ -251,7 +253,7 @@ def find_rss():
|
|
251 |
print(f'Exception::{ea.keys()}')
|
252 |
|
253 |
out_box.append(lod)
|
254 |
-
|
255 |
|
256 |
with gr.Blocks() as app:
|
257 |
cb = gr.Chatbot()
|
|
|
242 |
lods = {"title":r_title, "description":r_description,"link":r_link}
|
243 |
link_box.append(lods)
|
244 |
lod={lod['rss']['channel']['title']:link_box}
|
245 |
+
out_box.append(lod)
|
246 |
+
|
247 |
except Exception as e:
|
248 |
#print(f'{ea["source"]}')
|
249 |
#print(f'{ea["link"]}')
|
|
|
253 |
print(f'Exception::{ea.keys()}')
|
254 |
|
255 |
out_box.append(lod)
|
256 |
+
yield out_box,[(None,f'{out_box}')]
|
257 |
|
258 |
with gr.Blocks() as app:
|
259 |
cb = gr.Chatbot()
|