Add Games File
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
// Copyright Epic Games, Inc. All Rights Reserved.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "Engine/DataAsset.h"
|
||||
#include "QwenTTSPresetDataAsset.generated.h"
|
||||
|
||||
class UQwenTTSStreamingSettingsDataAsset;
|
||||
|
||||
UCLASS(BlueprintType)
|
||||
class QWENTTSSTREAMING_API UQwenTTSPresetDataAsset : public UPrimaryDataAsset
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
public:
|
||||
UQwenTTSPresetDataAsset();
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Qwen TTS|Preset")
|
||||
TObjectPtr<UQwenTTSStreamingSettingsDataAsset> Settings;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Qwen TTS|Preset")
|
||||
FString PresetId;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Qwen TTS|Preset")
|
||||
FString Language = TEXT("Russian");
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Qwen TTS|Preset")
|
||||
FString Mode = TEXT("voice_clone");
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Qwen TTS|Generation", meta = (ClampMin = "1"))
|
||||
int32 ChunkSize = 25;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Qwen TTS|Generation", meta = (ClampMin = "1"))
|
||||
int32 FirstChunkSize = 8;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Qwen TTS|Generation", meta = (ClampMin = "0"))
|
||||
int32 CrossfadeSamples = 256;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Qwen TTS|Generation", meta = (ClampMin = "0.0", ClampMax = "2.0"))
|
||||
float Temperature = 0.7f;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Qwen TTS|Generation", meta = (ClampMin = "1"))
|
||||
int32 TopK = 20;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Qwen TTS|Generation", meta = (ClampMin = "0.0"))
|
||||
float RepetitionPenalty = 1.1f;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Qwen TTS|Generation", meta = (ClampMin = "1"))
|
||||
int32 RepetitionPenaltyWindow = 64;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Qwen TTS|Payload")
|
||||
TMap<FString, FString> ExtraFields;
|
||||
};
|
||||
Reference in New Issue
Block a user