Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -2,9 +2,7 @@ import gradio as gr
|
|
2 |
import google.generativeai as genai
|
3 |
from huggingface_hub import InferenceClient
|
4 |
import gradio as gr
|
5 |
-
|
6 |
-
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
7 |
-
"""
|
8 |
client = InferenceClient("Google/gemini-1.5-flash")
|
9 |
genai.configure(api_key=os.environ["GEMINI_API_KEY"])
|
10 |
|
|
|
2 |
import google.generativeai as genai
|
3 |
from huggingface_hub import InferenceClient
|
4 |
import gradio as gr
|
5 |
+
|
|
|
|
|
6 |
client = InferenceClient("Google/gemini-1.5-flash")
|
7 |
genai.configure(api_key=os.environ["GEMINI_API_KEY"])
|
8 |
|