Kvikontent commited on
Commit
531dbda
·
verified ·
1 Parent(s): d03f3ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -32,12 +32,19 @@ if search_btn:
32
  prompt3 = prompt + ". Give short real life answer to this question"
33
 
34
  result1 = Client.create_completion("gpt3", prompt1)
 
35
  result2 = Client.create_completion("gpt3", prompt2)
 
36
  result3 = Client.create_completion("gpt3", prompt3)
 
37
 
38
  imageresult1 = generate_image(prompt + ". Create image of this in realistic style")
 
39
  imageresult2 = generate_image(prompt + ". Create image of this in cinematic style")
 
40
  imageresult3 = generate_image(prompt + ". Create image of this in black and white style")
 
 
41
 
42
  with texts:
43
  st.write("We found these results on your query: ")
 
32
  prompt3 = prompt + ". Give short real life answer to this question"
33
 
34
  result1 = Client.create_completion("gpt3", prompt1)
35
+ st.info("Result 1 is ready")
36
  result2 = Client.create_completion("gpt3", prompt2)
37
+ st.info("Result 2 is ready")
38
  result3 = Client.create_completion("gpt3", prompt3)
39
+ st.info("Result 3 is ready")
40
 
41
  imageresult1 = generate_image(prompt + ". Create image of this in realistic style")
42
+ st.info("Image result 1 is ready")
43
  imageresult2 = generate_image(prompt + ". Create image of this in cinematic style")
44
+ st.info("Image result 2 is ready")
45
  imageresult3 = generate_image(prompt + ". Create image of this in black and white style")
46
+ st.info("Image result 3 is ready")
47
+ st.info("starting showing output...")
48
 
49
  with texts:
50
  st.write("We found these results on your query: ")