Spaces:
Runtime error
Runtime error
ewanlee
commited on
Commit
·
c368640
1
Parent(s):
eaa7556
updated README.md
Browse files
README.md
CHANGED
@@ -115,3 +115,23 @@ print(info["labels"])
|
|
115 |
If everything runs smoothly, you have successfully imported the Atari ROMs and set up your environment.
|
116 |
|
117 |
Reference: [StackOverflow answer](https://stackoverflow.com/a/68143504/38626)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
115 |
If everything runs smoothly, you have successfully imported the Atari ROMs and set up your environment.
|
116 |
|
117 |
Reference: [StackOverflow answer](https://stackoverflow.com/a/68143504/38626)
|
118 |
+
|
119 |
+
### Visulization with Gradio
|
120 |
+
|
121 |
+
> Gradio is an open-source Python package that allows you to quickly build a demo or web application for your machine learning model, API, or any arbitary Python function. You can then share a link to your demo or web application in just a few seconds using Gradio’s built-in sharing features. No JavaScript, CSS, or web hosting experience needed! [from https://www.gradio.app/guides/quickstart]
|
122 |
+
|
123 |
+
Prerequisite: Gradio requires Python 3.8 or higher
|
124 |
+
|
125 |
+
Run this in your terminal or command prompt:
|
126 |
+
|
127 |
+
```shell
|
128 |
+
pip install gradio
|
129 |
+
```
|
130 |
+
|
131 |
+
And then run the following Python file in the root directory:
|
132 |
+
|
133 |
+
```shell
|
134 |
+
python gradio_reflexion.py
|
135 |
+
```
|
136 |
+
|
137 |
+
The visulization web application will open in a browser on http://server-ip-address:7860 if running from a file. If you are running within a notebook, the demo will appear embedded within the notebook.
|