Max KHANOV
commited on
Commit
·
84afd0d
1
Parent(s):
f9b2e38
Fix bug
Browse files
app.py
CHANGED
@@ -18,5 +18,5 @@ GROK_URL = "https://f1dc-128-105-19-70.ngrok-free.app"
|
|
18 |
ENDPOINT = f"{GROK_URL}/model"
|
19 |
|
20 |
if trigger:
|
21 |
-
|
22 |
st.write(result)
|
|
|
18 |
ENDPOINT = f"{GROK_URL}/model"
|
19 |
|
20 |
if trigger:
|
21 |
+
result = requests.get(ENDPOINT, params={"weight": weight, "k": k, "text": text, "ngrok-skip-browser-warning": "1"}).text
|
22 |
st.write(result)
|