entropy25 commited on
Commit
debdca2
·
verified ·
1 Parent(s): 63547fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -2150,12 +2150,14 @@ def create_gradio_interface():
2150
 
2151
  emotion_mixed_btn = gr.Button("Coffee maker works okay. Good temperature control but small water reservoir. Some parts feel cheap. Decent for the price but not exceptional quality.", size="sm")
2152
  emotion_mixed_btn.click(lambda: "Coffee maker works okay. Good temperature control but small water reservoir. Some parts feel cheap. Decent for the price but not exceptional quality.", outputs=emotion_text)
 
 
2153
 
2154
  emotion_file = gr.File(
2155
  label="Upload File",
2156
  file_types=[".csv", ".xlsx", ".xls"]
2157
  )
2158
- emotion_btn = gr.Button("Analyze Emotions", variant="primary")
2159
 
2160
  with gr.Column():
2161
  emotion_result = gr.Textbox(label="Emotion Analysis Results", lines=12)
 
2150
 
2151
  emotion_mixed_btn = gr.Button("Coffee maker works okay. Good temperature control but small water reservoir. Some parts feel cheap. Decent for the price but not exceptional quality.", size="sm")
2152
  emotion_mixed_btn.click(lambda: "Coffee maker works okay. Good temperature control but small water reservoir. Some parts feel cheap. Decent for the price but not exceptional quality.", outputs=emotion_text)
2153
+
2154
+ emotion_btn = gr.Button("Start Analysis", variant="primary")
2155
 
2156
  emotion_file = gr.File(
2157
  label="Upload File",
2158
  file_types=[".csv", ".xlsx", ".xls"]
2159
  )
2160
+
2161
 
2162
  with gr.Column():
2163
  emotion_result = gr.Textbox(label="Emotion Analysis Results", lines=12)