Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,10 @@
|
|
| 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
genai.configure(api_key="AIzaSyAOLyWRegqB-NxufjTlkyRBhn1ESJE-G38")
|
| 3 |
|
| 4 |
model = genai.GenerativeModel('gemini-pro')
|
|
|
|
| 1 |
|
| 2 |
+
pip install gradio
|
| 3 |
+
pip install google-generativeai
|
| 4 |
+
|
| 5 |
+
import gradio as gr
|
| 6 |
+
import google.generativeai as genai
|
| 7 |
+
|
| 8 |
genai.configure(api_key="AIzaSyAOLyWRegqB-NxufjTlkyRBhn1ESJE-G38")
|
| 9 |
|
| 10 |
model = genai.GenerativeModel('gemini-pro')
|