tboen1 commited on
Commit
b958ec4
·
verified ·
1 Parent(s): 7135c50

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
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
- answer = model(question)
20
- print(answer)
 
 
 
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)