DioxusLabs / example-projects

Featured Dioxus projects on how to build clean user interfaces in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ai generator fails when image is created

hughdbrown opened this issue · comments

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:

  • Dioxus version: master
  • Rust version: 1.71.0
  • OS info: MacOS
  • App platform: desktop