Spaces:
Runtime error
Runtime error
Commit
·
c4c9699
1
Parent(s):
61a66af
Update app.py
Browse files
app.py
CHANGED
@@ -100,7 +100,8 @@ def calculate_rewards(subscription, num_generations, author_share, ro_share, num
|
|
100 |
'paid_per_month': f"{subscription:.0f}€",
|
101 |
'attribution': f"{sim*100:.0f}%",
|
102 |
'author_month_reward': f"{author_month_reward:.0f}€",
|
103 |
-
'ro_month_reward': f"{ro_month_reward:.0f}€"
|
|
|
104 |
# 'paid_per_month': f"{subscription:.0f}€",
|
105 |
# 'paid_per_gen': f"{paid_per_gen:.2f}€",
|
106 |
# 'aro_share': f"{aro_share:.2f}c€",
|
|
|
100 |
'paid_per_month': f"{subscription:.0f}€",
|
101 |
'attribution': f"{sim*100:.0f}%",
|
102 |
'author_month_reward': f"{author_month_reward:.0f}€",
|
103 |
+
'ro_month_reward': f"{ro_month_reward:.0f}€",
|
104 |
+
'raw_similarity': sim
|
105 |
# 'paid_per_month': f"{subscription:.0f}€",
|
106 |
# 'paid_per_gen': f"{paid_per_gen:.2f}€",
|
107 |
# 'aro_share': f"{aro_share:.2f}c€",
|