Spaces:
Runtime error
Runtime error
Commit
·
99ec16a
1
Parent(s):
74fa8e5
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
import streamlit as st
|
2 |
-
from google.
|
3 |
|
4 |
# Configure API key
|
5 |
-
api_key = "
|
6 |
model_name = "gemini-pro"
|
7 |
|
8 |
# Create model object
|
|
|
1 |
import streamlit as st
|
2 |
+
from google.generativeai import GenerativeModel, Part, Content
|
3 |
|
4 |
# Configure API key
|
5 |
+
api_key = "AIzaSyC70u1sN87IkoxOoIj4XCAPw97ae2LZwNME"
|
6 |
model_name = "gemini-pro"
|
7 |
|
8 |
# Create model object
|