Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -108,7 +108,7 @@ try:
|
|
| 108 |
if text_input.strip():
|
| 109 |
params = {'text': text_input}
|
| 110 |
response = requests.get(
|
| 111 |
-
'https://ashish-001-
|
| 112 |
if response.status_code == 200:
|
| 113 |
logger.info("Embedding returned by API successfully")
|
| 114 |
data = json.loads(response.content)
|
|
|
|
| 108 |
if text_input.strip():
|
| 109 |
params = {'text': text_input}
|
| 110 |
response = requests.get(
|
| 111 |
+
'https://ashish-001-clip-api.hf.space/embedding', params=params)
|
| 112 |
if response.status_code == 200:
|
| 113 |
logger.info("Embedding returned by API successfully")
|
| 114 |
data = json.loads(response.content)
|