Winnie-Kay commited on
Commit
270f27d
·
1 Parent(s): 8cbc348

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -65,8 +65,9 @@ demo = gr.Interface(
65
  inputs=gr.Textbox(placeholder="Write your tweet here..."), # Text input field
66
  outputs="label", # Output type (here, we only display the label with the highest score)
67
  interpretation="default", # Interpretation mode
68
- examples=[["Have Fun with it...will be updated soon!"]], # Example input(s) to display on the interface
69
- css="body {background-image: url('https://www.reputationx.com/hubfs/what-is-sentiment-analysis-cover.jpg')}"
 
70
  )
71
 
72
  # Launch the Gradio interface
 
65
  inputs=gr.Textbox(placeholder="Write your tweet here..."), # Text input field
66
  outputs="label", # Output type (here, we only display the label with the highest score)
67
  interpretation="default", # Interpretation mode
68
+ examples=[["Have Fun with it...will be updated soon!"]],# Example input(s) to display on the interface
69
+ image=gr.Image("https://www.reputationx.com/hubfs/what-is-sentiment-analysis-cover.jpg"),
70
+ css= "body {background-color: black}"
71
  )
72
 
73
  # Launch the Gradio interface