Spaces:
Sleeping
Sleeping
Edward J. Schwartz
commited on
Commit
·
3a4dec2
1
Parent(s):
c3385bb
Debugging
Browse files- Dockerfile +1 -1
- app.py +1 -1
Dockerfile
CHANGED
@@ -29,6 +29,6 @@ WORKDIR $HOME/app
|
|
29 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
30 |
COPY --chown=user . $HOME/app
|
31 |
|
32 |
-
RUN wget https://huggingface.co/datasets/ejschwartz/oo-method-test/raw/main/scripts/gen-training.py
|
33 |
|
34 |
CMD ["python3", "app.py"]
|
|
|
29 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
30 |
COPY --chown=user . $HOME/app
|
31 |
|
32 |
+
RUN wget https://huggingface.co/datasets/ejschwartz/oo-method-test/raw/main/scripts/gen-training.py -O gen_training.py
|
33 |
|
34 |
CMD ["python3", "app.py"]
|
app.py
CHANGED
@@ -13,7 +13,7 @@ model = gr.load("ejschwartz/oo-method-test-model-bylibrary", src="models")
|
|
13 |
# ],
|
14 |
# live=True, title="Is it a method or a function?").launch(server_name="0.0.0.0", server_port=7860)
|
15 |
|
16 |
-
import
|
17 |
|
18 |
def get_funs(f):
|
19 |
return "cool"
|
|
|
13 |
# ],
|
14 |
# live=True, title="Is it a method or a function?").launch(server_name="0.0.0.0", server_port=7860)
|
15 |
|
16 |
+
import gen_training
|
17 |
|
18 |
def get_funs(f):
|
19 |
return "cool"
|