vkthakur88 commited on
Commit
af30170
1 Parent(s): 9ba4010

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -3,6 +3,7 @@ import huggingface_hub as hf_hub
3
  import gradio as gr
4
 
5
  client = hf_hub.InferenceClient(token = os.environ['HF_TOKEN'])
 
6
 
7
  def image_interface(prompt, guidance_scale, steps):
8
  response = client.text_to_image(
 
3
  import gradio as gr
4
 
5
  client = hf_hub.InferenceClient(token = os.environ['HF_TOKEN'])
6
+ client.headers["x-use-cache"] = "0"
7
 
8
  def image_interface(prompt, guidance_scale, steps):
9
  response = client.text_to_image(