Hugging Face
Models
Datasets
Spaces
Buckets
Docs
Enterprise
Pricing
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:
ID2223JR
/
lab2
Like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
jedeland
commited on
Nov 28, 2024
Commit
2cd6927
·
1 Parent(s):
8ea8a6a
lab2 test
Browse files
Files changed (1)
hide
show
app.py
+1
-1
app.py
CHANGED
Viewed
@@ -54,7 +54,7 @@ def submit_to_model():
54
{"role": "user", "content": prompt},
55
]
56
)
57
-
return response
58
59
60
# App
54
{"role": "user", "content": prompt},
55
]
56
)
57
+
return response
.choices[0].message.content
58
59
60
# App