Відгуки: Develop an App with the Vertex AI Gemini API
11047 відгуків
Jack Pang C. · Відгук надано більше 1 року тому
Hua Jian C. · Відгук надано більше 1 року тому
Anwar I. · Відгук надано більше 1 року тому
Victor C. · Відгук надано більше 1 року тому
There is an indentation error and incomplete code snippet in Task 13. The corrected version as follows: cat >> ~/gemini-app/app_tab4.py <<EOF with video_geoloc: video_geolocation_uri = "gs://cloud-training/OCBL447/gemini-app/videos/bus.mp4" video_geolocation_url = "https://storage.googleapis.com/"+video_geolocation_uri.split("gs://")[1] video_geolocation_vid = Part.from_uri(video_geolocation_uri, mime_type="video/mp4") st.video(video_geolocation_url) st.markdown("""Answer the following questions from the video: - What is this video about? - How do you know which city it is? - What street is this? - What is the nearest intersection? """) prompt = """Answer the following questions using the video only: What is this video about? How do you know which city it is? What street is this? What is the nearest intersection? Answer the following questions using a table format with the questions and answers as columns. """ tab1, tab2 = st.tabs(["Response", "Prompt"]) video_geolocation_description = st.button("Generate", key="video_geolocation_description") with tab1: if video_geolocation_description and prompt: with st.spinner("Generating location information"): response = get_gemini_pro_vision_response(multimodal_model_pro, [prompt, video_geolocation_vid]) st.markdown(response) logging.info(response) with tab2: st.write("Prompt used:") st.write(prompt,"\n","{video_data}") EOF
Yan Bin C. · Відгук надано більше 1 року тому
Odev S. · Відгук надано більше 1 року тому
Jack Pang C. · Відгук надано більше 1 року тому
mohamed t. · Відгук надано більше 1 року тому
Wesley Wong K. · Відгук надано більше 1 року тому
Hanyu B. · Відгук надано більше 1 року тому
ammar h. · Відгук надано більше 1 року тому
Terrible labs with bugs
JIN DI G. · Відгук надано більше 1 року тому
Leon N. · Відгук надано більше 1 року тому
Lee Li X. · Відгук надано більше 1 року тому
i already did like what it says, but it keep said i did not finish
Wan Ying A. · Відгук надано більше 1 року тому
Task 9 gives me this error DuplicateWidgetID: There are multiple widgets with the same key='er_diag_img_description'. To fix this, please make sure that the key argument is unique for each widget you create. Traceback: File "/home/student_01_766c33364a8b/gemini-app/app.py", line 43, in <module> render_image_playground_tab(multimodal_model_pro) File "/home/student_01_766c33364a8b/gemini-app/app_tab3.py", line 115, in render_image_playground_tab er_diag_img_description = st.button("Generate documentation", key="er_diag_img_description")
Samuel J. · Відгук надано більше 1 року тому
Quang N. · Відгук надано більше 1 року тому
Odev S. · Відгук надано більше 1 року тому
Amalia A. · Відгук надано більше 1 року тому
Quang N. · Відгук надано більше 1 року тому
Abdullah M. · Відгук надано більше 1 року тому
Quang N. · Відгук надано більше 1 року тому
calven c. · Відгук надано більше 1 року тому
i already did like what it says, but it keep said i did not finish
Wan Ying A. · Відгук надано більше 1 року тому
Ми не гарантуємо, що опубліковані відгуки написали клієнти, які придбали продукти чи скористалися ними. Відгуки не перевіряються Google.