Update app.py
Browse files
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 |
)
|