Spaces:
Running
Running
Update URLs
Browse files- Dockerfile +0 -15
- README.md +1 -1
- app.py +0 -1
- requirements.txt +1 -1
Dockerfile
DELETED
@@ -1,15 +0,0 @@
|
|
1 |
-
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
2 |
-
# you will also find guides on how best to write your Dockerfile
|
3 |
-
|
4 |
-
FROM python:3.11
|
5 |
-
|
6 |
-
# The two following lines are requirements for the Dev Mode to be functional
|
7 |
-
# Learn more about the Dev Mode at https://huggingface.co/dev-mode-explorers
|
8 |
-
RUN useradd -m -u 1000 user
|
9 |
-
WORKDIR /app
|
10 |
-
|
11 |
-
COPY --chown=user ./requirements.txt requirements.txt
|
12 |
-
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
13 |
-
|
14 |
-
COPY --chown=user . /app
|
15 |
-
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 💻
|
|
4 |
colorFrom: blue
|
5 |
colorTo: blue
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 5.
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: apache-2.0
|
|
|
4 |
colorFrom: blue
|
5 |
colorTo: blue
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 5.39.0
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: apache-2.0
|
app.py
CHANGED
@@ -18,7 +18,6 @@ html = '''
|
|
18 |
</html>
|
19 |
'''
|
20 |
|
21 |
-
|
22 |
script = '''
|
23 |
function createGradio() {
|
24 |
const urls = [
|
|
|
18 |
</html>
|
19 |
'''
|
20 |
|
|
|
21 |
script = '''
|
22 |
function createGradio() {
|
23 |
const urls = [
|
requirements.txt
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
numpy==1.26.4
|
2 |
-
gradio==5.
|
|
|
1 |
numpy==1.26.4
|
2 |
+
gradio==5.39.0
|