CosmoAI commited on
Commit
8fb1275
1 Parent(s): e806085

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -102,14 +102,11 @@ def ExecuteQuery(query):
102
 
103
 
104
 
105
- def test():
106
- query = st.text_input("Enter your query: ", key="new")
107
  reply = ExecuteQuery(query)
108
  st.write(reply[0])
109
  print(f"Tag: {reply[1]}")
110
  print(f"Prob: {reply[2]}")
111
 
112
 
113
-
114
- while True:
115
- test()
 
102
 
103
 
104
 
105
+
106
+ if query := st.text_input("Enter your query: "):
107
  reply = ExecuteQuery(query)
108
  st.write(reply[0])
109
  print(f"Tag: {reply[1]}")
110
  print(f"Prob: {reply[2]}")
111
 
112