mirror of
https://github.com/GayPizzaSpecifications/stable-diffusion-rpc.git
synced 2025-08-06 22:51:34 +00:00
Start work on C++ client, and implement streaming of image generation.
This commit is contained in:
1
Clients/Cpp/src/StableDiffusion.proto
Symbolic link
1
Clients/Cpp/src/StableDiffusion.proto
Symbolic link
@ -0,0 +1 @@
|
||||
../../../Common/StableDiffusion.proto
|
11
Clients/Cpp/src/sample.cpp
Normal file
11
Clients/Cpp/src/sample.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
#include <StableDiffusion.pb.h>
|
||||
#include <iostream>
|
||||
|
||||
using namespace gay::pizza::stable::diffusion;
|
||||
|
||||
int main() {
|
||||
ModelInfo info;
|
||||
info.set_name("anything-4.5");
|
||||
std::cout << info.DebugString() << std::endl;
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user