Wilson commited on
Commit
aa13c36
·
1 Parent(s): 5fd7f4f

switch back to targeted model

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,8 +10,8 @@ logging.basicConfig(level=logging.DEBUG)
10
  logger = logging.getLogger(__name__)
11
 
12
 
13
- # client = InferenceClient(model="timbrooks/instruct-pix2pix")
14
- client = InferenceClient()
15
  def model_call(prompt, input_image):
16
  with tempfile.NamedTemporaryFile(suffix=".jpg", delete=True) as temp_file:
17
  seed = random.randint(0, 100000)
 
10
  logger = logging.getLogger(__name__)
11
 
12
 
13
+ client = InferenceClient(model="timbrooks/instruct-pix2pix")
14
+ # client = InferenceClient()
15
  def model_call(prompt, input_image):
16
  with tempfile.NamedTemporaryFile(suffix=".jpg", delete=True) as temp_file:
17
  seed = random.randint(0, 100000)