Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ count = 0
|
|
17 |
# Gradio Interface Function to handle image generation
|
18 |
def infer_gradio(prompt: str):
|
19 |
global count
|
20 |
-
|
21 |
# Create a Client instance to communicate with the Hugging Face space
|
22 |
client = Client(random.choice(repos))
|
23 |
|
|
|
17 |
# Gradio Interface Function to handle image generation
|
18 |
def infer_gradio(prompt: str):
|
19 |
global count
|
20 |
+
random.seed()
|
21 |
# Create a Client instance to communicate with the Hugging Face space
|
22 |
client = Client(random.choice(repos))
|
23 |
|