DioxusLabs / example-projects

Featured Dioxus projects on how to build clean user interfaces in Rust
486 stars 64 forks source link

ai generator fails when image is created #36

Open hughdbrown opened 11 months ago

hughdbrown commented 11 months ago

Problem

Application panics with message:

     Running `/Users/hughbrown/workspace/hughdbrown/rust/example-projects/target/debug/image_generator_open_ai`
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error("missing field `created`", line: 8, column: 1)', image_generator_open_ai/src/main.rs:127:66

Steps To Reproduce

Click on Generate image button

Expected behavior

Not sure: I've never seen the app run successfully.

Screenshots

If applicable, add screenshots to help explain your problem.

Environment: