furquan commited on
Commit
9975ffc
1 Parent(s): ba95477

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -164,7 +164,7 @@ def sentiment_analysis(tweets,topic):
164
  with gr.Blocks() as app:
165
  topic = gr.Textbox(label="Enter a topic for tweets")
166
  with gr.Row():
167
- output1 = gr.Gallery(label="Screenshot of Tweets", show_label=True, elem_id="gallery")
168
  output2 = gr.Image(label="Sentiment Analysis Result")
169
  greet_btn = gr.Button("Initiate Sentiment Analysis")
170
  greet_btn.click(collect_tweets, inputs=topic, outputs=[output1, output2])
 
164
  with gr.Blocks() as app:
165
  topic = gr.Textbox(label="Enter a topic for tweets")
166
  with gr.Row():
167
+ output1 = gr.Gallery(label="Screenshot of Tweets", show_label=True, elem_id="gallery").style(grid=[3], height="200")
168
  output2 = gr.Image(label="Sentiment Analysis Result")
169
  greet_btn = gr.Button("Initiate Sentiment Analysis")
170
  greet_btn.click(collect_tweets, inputs=topic, outputs=[output1, output2])