Commit
·
f271f61
1
Parent(s):
27d9e2b
Update app.py
Browse files
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, negative_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, negative_prompt, guidance_scale, steps):
|
9 |
response = client.text_to_image(
|