Spaces:
Runtime error
Runtime error
File size: 323 Bytes
fbaae9e 7360ef0 d1eb1fb 7360ef0 d1eb1fb fbaae9e d1eb1fb 35d8419 d1eb1fb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
import os
import gemini_gradio
from utils import get_app
demo = get_app(
models=[
"gemini-2.0-flash-exp",
],
default_model="gemini-2.0-flash-exp",
src=gemini_gradio.registry,
accept_token=not os.getenv("GEMINI_API_KEY"),
enable_voice=True,
)
if __name__ == "__main__":
demo.launch()
|