Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
|
@@ -53,9 +53,18 @@ class CryptoCrew:
|
|
| 53 |
return parsed_result
|
| 54 |
|
| 55 |
def parse_result(self, result):
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
|
| 60 |
if __name__ == "__main__":
|
| 61 |
print("## Welcome to Crypto Analysis Crew")
|
|
|
|
| 53 |
return parsed_result
|
| 54 |
|
| 55 |
def parse_result(self, result):
|
| 56 |
+
parsed = {
|
| 57 |
+
"summary": str(result),
|
| 58 |
+
"sentiment": {
|
| 59 |
+
"overall": "Neutral",
|
| 60 |
+
"social_media": "Neutral",
|
| 61 |
+
"news": "Neutral",
|
| 62 |
+
"community": "Neutral"
|
| 63 |
+
}
|
| 64 |
+
}
|
| 65 |
+
# Add your parsing logic here
|
| 66 |
+
return parsed
|
| 67 |
+
|
| 68 |
|
| 69 |
if __name__ == "__main__":
|
| 70 |
print("## Welcome to Crypto Analysis Crew")
|