Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import os
|
|
6 |
|
7 |
def get_gpt_response(text):
|
8 |
r = requests.post(
|
9 |
-
url="https://hf.space/embed/
|
10 |
json={"data": [text]},
|
11 |
)
|
12 |
response = r.json()
|
|
|
6 |
|
7 |
def get_gpt_response(text):
|
8 |
r = requests.post(
|
9 |
+
url="https://hf.space/embed/dnth/gpt-j-6B/+/api/predict/",
|
10 |
json={"data": [text]},
|
11 |
)
|
12 |
response = r.json()
|