Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 =
|
| 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 |
)
|