Hugging Face
Search models, datasets, users...
Ctrl K
Models
Datasets
Spaces
Buckets
Docs
Enterprise
Pricing
More
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
FabioSantos
/
api_faq
Like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
FabioSantos
commited on
Nov 3, 2024
Commit
b899069
·
verified
·
1 Parent(s):
79a34c5
Update api.py
Browse files
Files changed (1)
hide
show
api.py
+1
-1
api.py
CHANGED
Viewed
@@ -28,7 +28,7 @@ def get_response(text: str) -> str:
28
]
29
)
30
31
-
response_text = response
32
33
34
return response_text
28
]
29
)
30
31
+
response_text = response
..choices[0].message.content
32
33
34
return response_text