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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -42,10 +42,9 @@ def stream_chat_with_rag(
42
 
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
  )
 
42
 
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
  top_n= top_n,
49
  api_name="/get_heatmap_pivot_table"
50
  )