gururise commited on
Commit
8541fdf
1 Parent(s): 2812e92
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -2
app.py CHANGED
@@ -152,7 +152,7 @@ iface = gr.Interface(
152
  outputs=gr.Textbox(lines=20, label="Generated Output:"),
153
 
154
  examples=examples,
155
- #cache_examples=True,
156
  title="BLOOM vs BLOOMZ",
157
  description='''<p>Compare outputs of the BLOOM and BLOOMZ 176 billion parameter models using the Petals network. <b>WARNING:</b> Initial inference may take a long time. Keep the input prompt to a minimum size to speed things up.<p>
158
  <p>Please consider contributing your unused GPU cycles to the <a href='https://github.com/bigscience-workshop/petals#connect-your-gpu-and-increase-petals-capacity'>petals swarm</a> to help speed up inference. Check the <a href='http://health.petals.ml/'>Health</a> of the Petals Swarm.</p>
 
152
  outputs=gr.Textbox(lines=20, label="Generated Output:"),
153
 
154
  examples=examples,
155
+ cache_examples=False,
156
  title="BLOOM vs BLOOMZ",
157
  description='''<p>Compare outputs of the BLOOM and BLOOMZ 176 billion parameter models using the Petals network. <b>WARNING:</b> Initial inference may take a long time. Keep the input prompt to a minimum size to speed things up.<p>
158
  <p>Please consider contributing your unused GPU cycles to the <a href='https://github.com/bigscience-workshop/petals#connect-your-gpu-and-increase-petals-capacity'>petals swarm</a> to help speed up inference. Check the <a href='http://health.petals.ml/'>Health</a> of the Petals Swarm.</p>
requirements.txt CHANGED
@@ -1,8 +1,7 @@
1
- threadpoolctl==3.1.0
2
  transformers==4.25.1
3
  bitsandbytes==0.34.0
4
  protobuf>=3.12.2,<4.0.0
5
  torch==1.13.1
6
  hivemind>=1.1.5
7
  git+https://github.com/bigscience-workshop/petals.git #egg=petals
8
- gradio
 
 
1
  transformers==4.25.1
2
  bitsandbytes==0.34.0
3
  protobuf>=3.12.2,<4.0.0
4
  torch==1.13.1
5
  hivemind>=1.1.5
6
  git+https://github.com/bigscience-workshop/petals.git #egg=petals
7
+ #gradio