Commit ·
9b8c962
1
Parent(s): 34be4ca
fixed color issue
Browse files
README.md
CHANGED
|
@@ -4,6 +4,7 @@ emoji: 🏃
|
|
| 4 |
colorFrom: green
|
| 5 |
colorTo: blue
|
| 6 |
sdk: streamlit
|
|
|
|
| 7 |
app_file: app.py
|
| 8 |
pinned: false
|
| 9 |
license: openrail
|
|
|
|
| 4 |
colorFrom: green
|
| 5 |
colorTo: blue
|
| 6 |
sdk: streamlit
|
| 7 |
+
sdk_version: 1.21.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: openrail
|
app.py
CHANGED
|
@@ -83,7 +83,7 @@ def openai_chat_completion_response(final_prompt):
|
|
| 83 |
|
| 84 |
|
| 85 |
colors = {}
|
| 86 |
-
for guideline in
|
| 87 |
colors[guideline["entity"]] = guideline["color"]
|
| 88 |
|
| 89 |
|
|
|
|
| 83 |
|
| 84 |
|
| 85 |
colors = {}
|
| 86 |
+
for guideline in edited_df.to_dict(orient="index").values():
|
| 87 |
colors[guideline["entity"]] = guideline["color"]
|
| 88 |
|
| 89 |
|