Commit 3: Add 5 file(s)
Browse files- demos/zip_files/run.py +2 -1
- requirements.txt +2 -2
demos/zip_files/run.py
CHANGED
|
@@ -15,7 +15,8 @@ demo = gr.Interface(
|
|
| 15 |
examples=[[[gr.get_file("titanic.csv"),
|
| 16 |
gr.get_file("titanic.csv"),
|
| 17 |
gr.get_file("titanic.csv")]]],
|
| 18 |
-
cache_examples=True
|
|
|
|
| 19 |
)
|
| 20 |
|
| 21 |
if __name__ == "__main__":
|
|
|
|
| 15 |
examples=[[[gr.get_file("titanic.csv"),
|
| 16 |
gr.get_file("titanic.csv"),
|
| 17 |
gr.get_file("titanic.csv")]]],
|
| 18 |
+
cache_examples=True,
|
| 19 |
+
api_name="predict"
|
| 20 |
)
|
| 21 |
|
| 22 |
if __name__ == "__main__":
|
requirements.txt
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
-
gradio-client @ git+https://github.com/gradio-app/gradio@
|
| 2 |
-
https://gradio-pypi-previews.s3.amazonaws.com/
|
| 3 |
pypistats==1.1.0
|
| 4 |
plotly
|
| 5 |
matplotlib
|
|
|
|
| 1 |
+
gradio-client @ git+https://github.com/gradio-app/gradio@2be68f7b5435260beb435092fb343e824d98ceca#subdirectory=client/python
|
| 2 |
+
https://gradio-pypi-previews.s3.amazonaws.com/2be68f7b5435260beb435092fb343e824d98ceca/gradio-5.49.1-py3-none-any.whl
|
| 3 |
pypistats==1.1.0
|
| 4 |
plotly
|
| 5 |
matplotlib
|