Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ def interrogate(img):
|
|
| 20 |
client = Client("https://pharmapsychotic-clip-interrogator.hf.space/")
|
| 21 |
client.view_api()
|
| 22 |
result = client.predict(
|
| 23 |
-
|
| 24 |
"ViT-L (best for Stable Diffusion 1.*)", # str (Option from: ['ViT-L (best for Stable Diffusion 1.*)'])
|
| 25 |
"best", # str in 'Mode' Radio component
|
| 26 |
fn_index=3
|
|
|
|
| 20 |
client = Client("https://pharmapsychotic-clip-interrogator.hf.space/")
|
| 21 |
client.view_api()
|
| 22 |
result = client.predict(
|
| 23 |
+
img, # str (filepath or URL to image)
|
| 24 |
"ViT-L (best for Stable Diffusion 1.*)", # str (Option from: ['ViT-L (best for Stable Diffusion 1.*)'])
|
| 25 |
"best", # str in 'Mode' Radio component
|
| 26 |
fn_index=3
|