Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import streamlit as st
|
2 |
import textgrad as tg
|
|
|
3 |
|
4 |
|
5 |
tg.set_backward_engine("gpt-4o", override=True)
|
@@ -16,5 +17,7 @@ question = tg.Variable(question_string,
|
|
16 |
role_description="question to the LLM",
|
17 |
requires_grad=False)
|
18 |
|
19 |
-
|
20 |
-
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
import textgrad as tg
|
3 |
+
import os
|
4 |
|
5 |
|
6 |
tg.set_backward_engine("gpt-4o", override=True)
|
|
|
17 |
role_description="question to the LLM",
|
18 |
requires_grad=False)
|
19 |
|
20 |
+
print(os.getenv("OPENAI_API_KEY")[:-4])
|
21 |
+
|
22 |
+
#answer = model(question)
|
23 |
+
#print(answer)
|