freddyaboulton HF Staff commited on
Commit
90137cb
·
verified ·
1 Parent(s): 4fec4d7

Commit 3: Add 5 file(s)

Browse files
Files changed (2) hide show
  1. demos/zip_files/run.py +2 -1
  2. 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@ad9c306452551295e812489a24bcedf65189fb7c#subdirectory=client/python
2
- https://gradio-pypi-previews.s3.amazonaws.com/ad9c306452551295e812489a24bcedf65189fb7c/gradio-5.49.1-py3-none-any.whl
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