abidlabs HF Staff commited on
Commit
6ee83bf
·
verified ·
1 Parent(s): 747d4e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from gradio_client import Client
3
 
4
  client = Client("hysts/SDXL")
5
 
6
- def text_to_image(client, prompt):
7
  img = client.predict(prompt, "", "", "", api_name="/run")
8
  return img
9
 
 
3
 
4
  client = Client("hysts/SDXL")
5
 
6
+ def text_to_image(prompt):
7
  img = client.predict(prompt, "", "", "", api_name="/run")
8
  return img
9