Skip to content

Commit

Permalink
publish examples build
Browse files Browse the repository at this point in the history
  • Loading branch information
Oege Dijk committed Dec 8, 2023
1 parent 872a5ec commit 41c9683
Show file tree
Hide file tree
Showing 5 changed files with 81 additions and 2 deletions.
6 changes: 5 additions & 1 deletion examples/TemperatureBandit.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,11 @@ function TemperatureFruitBandit() {
</table>
</div>
<h2>Recommended fruit:</h2>
{recommendation && <div>{recommendation.actionId}</div>}
{recommendation && (
<div>
<b>{recommendation.actionId}</b>
</div>
)}
<button onClick={handleAccept}>Accept</button>
<button onClick={handleReject}>Reject</button>
<h2>Training Data</h2>
Expand Down
6 changes: 5 additions & 1 deletion examples/WeightedBandit.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,11 @@ function WeightedFruitBandit() {
sometimes select treats and give them a high rating. Then play with the
weight slider to see how that affects the recommendations probabilities.
</p>
{recommendation && <div>{recommendation.actionId}</div>}
{recommendation && (
<div>
<b>{recommendation.actionId}</b>
</div>
)}
<button
onClick={() => {
setSelectedAction(recommendation.actionId);
Expand Down
69 changes: 69 additions & 0 deletions examples/dist/examples.263891ec.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions examples/dist/examples.bd14ef98.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions examples/dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>React App</title><link rel="stylesheet" href="/examples.bd14ef98.css"></head><body> <div id="root"></div> <script src="/examples.263891ec.js" inline=""></script> </body></html>

0 comments on commit 41c9683

Please sign in to comment.