Vera-ZWY commited on
Commit
b36c45b
·
verified ·
1 Parent(s): f060a38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -43,9 +43,9 @@ def stream_chat_with_rag(
43
 
44
  def heatmap(top_n):
45
  df = pd.read_csv('submission_emotiontopics2024GPTresult.csv')
46
- topics_df = gr.Dataframe(value=df, label="Data Input")
47
  pivot_table = client.predict(
48
- df = topics_df,
49
  top_n= top_n,
50
  api_name="/get_heatmap_pivot_table"
51
  )
 
43
 
44
  def heatmap(top_n):
45
  df = pd.read_csv('submission_emotiontopics2024GPTresult.csv')
46
+ # topics_df = gr.Dataframe(value=df, label="Data Input")
47
  pivot_table = client.predict(
48
+ df = df,
49
  top_n= top_n,
50
  api_name="/get_heatmap_pivot_table"
51
  )