feat: add Fabric Regular Synthesizer to Streamlit app #252
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add Fabric Regular Synthesizer to Streamlit app:
When Fabric Regular Synthesizer is selected, the input
![image](https://user-images.githubusercontent.com/1913007/226647506-0b710256-0c48-48c1-98ef-86aff2ca4050.png)
SDK Token
is displayed and validated on the fly. If there is no token or the token is invalid, the following error and guidance is displayed:When a particular path is specified for a model, we check in real time if it is a local model or from the SDK. If it is from the SDK, we display the token field and automatically fill it with the value serialized during training:
![image](https://user-images.githubusercontent.com/1913007/226647929-b78b9077-a182-4a00-ae3f-046e16d35ff1.png)
As the token might become invalid in between, we allow the user to change it. If the token is present with the model file but invalid, we display it as well:
![image](https://user-images.githubusercontent.com/1913007/226648452-af6a6377-13c3-4d9d-9212-ac7e776d7ce2.png)