Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -164,8 +164,10 @@ def sentiment_analysis(tweets,topic):
|
|
164 |
|
165 |
with gr.Blocks() as app:
|
166 |
with gr.Column():
|
167 |
-
gr.Markdown("""
|
168 |
-
|
|
|
|
|
169 |
topic = gr.Textbox(label="Enter a topic for tweets")
|
170 |
output2 = gr.Image(label="Sentiment Analysis Result")
|
171 |
output1 = gr.Gallery(label="Screenshot of Tweets", show_label=True, elem_id="gallery").style(grid=[3], height="50", width="80")
|
|
|
164 |
|
165 |
with gr.Blocks() as app:
|
166 |
with gr.Column():
|
167 |
+
gr.Markdown("""
|
168 |
+
##Due to Twitter's restriction on free tier API access, the app will not work properly.
|
169 |
+
If you are a recuriter who like to view a functioning version of this app, please send me a direct message.
|
170 |
+
""")
|
171 |
topic = gr.Textbox(label="Enter a topic for tweets")
|
172 |
output2 = gr.Image(label="Sentiment Analysis Result")
|
173 |
output1 = gr.Gallery(label="Screenshot of Tweets", show_label=True, elem_id="gallery").style(grid=[3], height="50", width="80")
|