Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ def hello(update: Update, context: CallbackContext) -> None:
|
|
| 16 |
|
| 17 |
def get_gpt_response(text):
|
| 18 |
r = requests.post(
|
| 19 |
-
url="https://hf.space/Emkay/
|
| 20 |
json={"data": [text]},
|
| 21 |
)
|
| 22 |
response = r.json()
|
|
|
|
| 16 |
|
| 17 |
def get_gpt_response(text):
|
| 18 |
r = requests.post(
|
| 19 |
+
url="https://hf.space/Emkay/Asrix_Bot/gpt-j-6B/+/api/predict/",
|
| 20 |
json={"data": [text]},
|
| 21 |
)
|
| 22 |
response = r.json()
|