Spaces:
Sleeping
Sleeping
Nikhil0987
commited on
Update chat.py
Browse files
chat.py
CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
|
|
2 |
import json
|
3 |
import google.generativeai as genai
|
4 |
|
5 |
-
def
|
6 |
GOOGLE_API_KEY = "AIzaSyCUBaL7TdISL7lRuBy19_X0-OsZfgbIgEc"
|
7 |
genai.configure(api_key=GOOGLE_API_KEY)
|
8 |
model = genai.GenerativeModel('gemini-pro')
|
|
|
2 |
import json
|
3 |
import google.generativeai as genai
|
4 |
|
5 |
+
def Chat():
|
6 |
GOOGLE_API_KEY = "AIzaSyCUBaL7TdISL7lRuBy19_X0-OsZfgbIgEc"
|
7 |
genai.configure(api_key=GOOGLE_API_KEY)
|
8 |
model = genai.GenerativeModel('gemini-pro')
|