Spaces:
Sleeping
Sleeping
Commit ·
3dd65c5
1
Parent(s): 39e757b
added in the right github structure
Browse files
app.py
CHANGED
|
@@ -11,12 +11,6 @@ from core.core import analyze_games
|
|
| 11 |
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
|
| 12 |
logger = logging.getLogger(__name__)
|
| 13 |
|
| 14 |
-
GEMINI_API_KEY = os.environ.get('GEMINI_API_KEY')
|
| 15 |
-
genai.configure(api_key=GEMINI_API_KEY)
|
| 16 |
-
model = genai.GenerativeModel('gemini-2.0-flash-exp')
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
with gr.Blocks(title="Chess Study Plan Pro", theme=gr.themes.Soft()) as demo:
|
| 21 |
gr.Markdown("""
|
| 22 |
# ♟️ Professional Шахмат O'quv Rejasi
|
|
|
|
| 11 |
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
|
| 12 |
logger = logging.getLogger(__name__)
|
| 13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
with gr.Blocks(title="Chess Study Plan Pro", theme=gr.themes.Soft()) as demo:
|
| 15 |
gr.Markdown("""
|
| 16 |
# ♟️ Professional Шахмат O'quv Rejasi
|