Skip to content

Commit c155a5f

Browse files
committed
feat:added files main and dependencies
1 parent aef1951 commit c155a5f

File tree

5 files changed

+604
-0
lines changed

5 files changed

+604
-0
lines changed

.github/workflows/update_space.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Run Python script
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v2
15+
16+
- name: Set up Python
17+
uses: actions/setup-python@v2
18+
with:
19+
python-version: '3.12.8'
20+
21+
- name: Install Gradio
22+
run: python -m pip install gradio
23+
24+
- name: Log in to Hugging Face
25+
run: python -c 'import huggingface_hub; huggingface_hub.login(token="${{ secrets.hf_token }}")'
26+
27+
- name: Deploy to Spaces
28+
run: gradio deploy

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,3 +169,6 @@ cython_debug/
169169

170170
# PyPI configuration file
171171
.pypirc
172+
173+
.gradio
174+
.hugging_face

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1+
---
2+
title: Q-Learning_GridWorld_Simulator
3+
app_file: rl_gradio.py
4+
sdk: gradio
5+
sdk_version: 5.19.0
6+
---
17
# Reinforcement_Learning_Project
28
Simple Project to enforce learning by Q-Learning

requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
gradio==5.19.0
2+
matplotlib==3.10.1
3+
numpy==2.2.3

0 commit comments

Comments
 (0)