vkthakur88
commited on
Commit
•
ab26811
1
Parent(s):
23616fa
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +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 |
-
client.headers["x-use-cache"] = "0"
|
7 |
|
8 |
def image_interface(prompt, negative_prompt, guidance_scale, steps):
|
9 |
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(
|