rootglitch commited on
Commit
24391df
·
verified ·
1 Parent(s): 2a88654

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -8,7 +8,8 @@ client = Client("rootglitch/CarVizGradioDemo01")
8
  result = client.predict(
9
  input_image_path=handle_file('https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png'),
10
  prompt="Hello!!",
11
- api_name="/generate_image",
 
12
  hf_token=HF_TOKEN
13
  )
14
  print(result)
 
8
  result = client.predict(
9
  input_image_path=handle_file('https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png'),
10
  prompt="Hello!!",
11
+ api_name="/generate_image",
12
+ repo_type="spaces",
13
  hf_token=HF_TOKEN
14
  )
15
  print(result)