Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ news_description = most_positive_article["description"]
|
|
35 |
news_link = most_positive_article["link"]
|
36 |
|
37 |
# Create UI
|
38 |
-
with gr.Blocks(theme=gr.themes.Default(font=[gr.themes.GoogleFont("IBM Plex Mono"), "Arial", "sans-serif"])) as demo:
|
39 |
gr.Markdown("<div align='center'><h1>The Delight Dispatch ☀️🗞️</h1></div")
|
40 |
gr.Markdown("## Today's News: " + news_headline)
|
41 |
gr.Markdown(news_description)
|
@@ -60,4 +60,4 @@ with gr.Blocks(theme=gr.themes.Default(font=[gr.themes.GoogleFont("IBM Plex Mono
|
|
60 |
gr.Label("Sentiment History of News on this Demo")
|
61 |
gr.Image("most_positive_timeline.png", elem_id="demo-history")
|
62 |
|
63 |
-
demo.launch(
|
|
|
35 |
news_link = most_positive_article["link"]
|
36 |
|
37 |
# Create UI
|
38 |
+
with gr.Blocks(port=8000, theme=gr.themes.Default(font=[gr.themes.GoogleFont("IBM Plex Mono"), "Arial", "sans-serif"])) as demo:
|
39 |
gr.Markdown("<div align='center'><h1>The Delight Dispatch ☀️🗞️</h1></div")
|
40 |
gr.Markdown("## Today's News: " + news_headline)
|
41 |
gr.Markdown(news_description)
|
|
|
60 |
gr.Label("Sentiment History of News on this Demo")
|
61 |
gr.Image("most_positive_timeline.png", elem_id="demo-history")
|
62 |
|
63 |
+
demo.launch()
|