Spaces:
Running
Running
Update README.md
Browse files
README.md
CHANGED
@@ -390,8 +390,39 @@ Successfully installed Pillow-10.1.0 accelerate-0.24.0 aiofiles-23.2.1 altair-5.
|
|
390 |
[notice] To update, run: python.exe -m pip install --upgrade pip
|
391 |
|
392 |
C:\Users\aaron\src\2024-01-02\RTI>
|
|
|
|
|
393 |
|
|
|
|
|
394 |
|
|
|
|
|
|
|
|
|
|
|
395 |
|
|
|
396 |
|
397 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
390 |
[notice] To update, run: python.exe -m pip install --upgrade pip
|
391 |
|
392 |
C:\Users\aaron\src\2024-01-02\RTI>
|
393 |
+
```
|
394 |
+
|
395 |
|
396 |
+
Next, the streamlit library was not included in the library list due to the fact that this is a gradio app.
|
397 |
+
Since we are interested in UI for python of multiple flavors (gradio,streamlit,html5) lets also add streamlit.
|
398 |
|
399 |
+
To set up your vscode debugger, use the ability to create a ".vscode\launch.json" file inside your project code directory.
|
400 |
+
This allows:
|
401 |
+
1. to list program to launch during F5 debug for quick test of changes.
|
402 |
+
2. to supply args like run or filename to run.
|
403 |
+
3. to allow easy changes to test alternate files.
|
404 |
|
405 |
+
Example:
|
406 |
|
407 |
+
```
|
408 |
+
{
|
409 |
+
// Use IntelliSense to learn about possible attributes.
|
410 |
+
// Hover to view descriptions of existing attributes.
|
411 |
+
// For more information, visit: Debugging in Visual Studio Code 22
|
412 |
+
"version": "0.2.0",
|
413 |
+
"configurations": [
|
414 |
+
{
|
415 |
+
"name": "debug streamlit",
|
416 |
+
"type": "python",
|
417 |
+
"request": "launch",
|
418 |
+
//"program": "C:\\Users\\aaron\\AppData\\Local\\Programs\\Python\\Python310\\Scripts\\streamlit.exe",
|
419 |
+
//"args": ["run","app.py"],
|
420 |
+
"program": "C:\\Users\\aaron\\AppData\\Local\\Programs\\Python\\Python310\\Scripts\\gradio.exe",
|
421 |
+
"args": ["app.py"],
|
422 |
+
"console": "externalTerminal",
|
423 |
+
"justMyCode": true
|
424 |
+
}
|
425 |
+
]
|
426 |
+
}
|
427 |
+
|
428 |
+
```
|