Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
import google.generativeai as genai
|
3 |
|
4 |
-
|
|
|
5 |
genai.configure(api_key=token)
|
6 |
|
7 |
# Chargez l'image
|
|
|
1 |
import gradio as gr
|
2 |
import google.generativeai as genai
|
3 |
|
4 |
+
import os
|
5 |
+
token=os.environ.get("TOKEN")
|
6 |
genai.configure(api_key=token)
|
7 |
|
8 |
# Chargez l'image
|