Spaces:
Runtime error
Runtime error
Upload 2 files
Browse files- environment.yml +7 -0
- run.sh +5 -0
environment.yml
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: gradio
|
2 |
+
channels:
|
3 |
+
- conda-forge
|
4 |
+
- defaults
|
5 |
+
dependencies:
|
6 |
+
- python=3.10
|
7 |
+
- gradio
|
run.sh
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
CONDA_ENV=$(head -1 /code/environment.yml | cut -d" " -f2)
|
3 |
+
eval "$(conda shell.bash hook)"
|
4 |
+
conda activate $CONDA_ENV
|
5 |
+
python app.py
|