bhavnapatur commited on
Commit
a35e8b3
·
verified ·
1 Parent(s): b240715

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -14
app.py CHANGED
@@ -132,21 +132,7 @@ def respond(destination, transportation, date, preference, include_options, mino
132
  """
133
  messages = [{"role": "system", "content": prompt}]
134
 
135
- response = ""
136
- for message in client.chat_completion(
137
- messages, max_tokens = 4096, stream=True
138
- #temperature= .1, top_p= 0.7)
139
- # max tokens = change the length of the response
140
- # temp = between 0-2
141
- # top-p = between 0-1
142
- ):
143
- token = message.choices[0].delta.content
144
- if token:
145
- response += token
146
- yield response
147
 
148
- output_box = gr.ChatInterface(type="messages", title="Your Travel Plan")
149
-
150
 
151
 
152
 
 
132
  """
133
  messages = [{"role": "system", "content": prompt}]
134
 
 
 
 
 
 
 
 
 
 
 
 
 
135
 
 
 
136
 
137
 
138