Skip to content

Commit

Permalink
Fixture - Slider Number (#346)
Browse files Browse the repository at this point in the history
* Update model methods to run background task when creating the endpoint and creating score endpoint for runpod to use

* Handle error from Runpod, URL inference from yaml file

* Update backend/app/api/endpoints/base/score.py

Co-authored-by: Rafael Mosquera <rafael.mosquera@factored.ai>

* Rename method

* rename endpoint

* Print background tasks and correct typo

* Correct typos and correct schemas

* model uid

* remove c

* ad ta to metada (facepalm)

* add update publish status to make change the publish state of the models

* change order of background tasks

* print instead of raising error for the second background task to run

* New components required by ps-on-ai challenge

* rename component

* New Big components and update chatbot

* add style to be included from the beginning

* Fix for the rabio button selection to stick and allow the input text for the chatbot to grow a little bit bigger

* add more time to generate_text

* remove print

* Add number to slider

* simplify Input change

---------

Co-authored-by: Rafael Mosquera <rafael.mosquera@factored.ai>
  • Loading branch information
shincap8 and remg1997 authored Feb 25, 2025
1 parent 7499444 commit 63ef61e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,11 @@ const SimpleSliderNoExplanation: FC<SimpleSliderNoExplanationProps> = ({

const handleChange = (value: string) => {
setShowTooltip(true);
const updatedResponses = { instructions: value };

setelectedValue(value);
onInputChange(
{
[field_name_for_the_model]: updatedResponses,
[field_name_for_the_model]: value,
},
metadata
);
Expand Down

0 comments on commit 63ef61e

Please sign in to comment.