cnmoro commited on
Commit
84e61b9
1 Parent(s): 8d3e224

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -7
app.py CHANGED
@@ -155,12 +155,7 @@ async def predict(message, history):
155
  headers = { "Content-Type": "application/json",
156
  "Authorization": f"Bearer {openrouter_key}" }
157
  body = { "stream": True,
158
- "models": [
159
- "huggingfaceh4/zephyr-7b-beta:free",
160
- "openchat/openchat-7b:free",
161
- "mistralai/mistral-7b-instruct:free"
162
- ],
163
- "route": "fallback",
164
  "max_tokens": 1024,
165
  "messages": [
166
  {"role": "user", "content": prompt}
@@ -214,6 +209,8 @@ gr.ChatInterface(
214
  'Search: RAG LLM; Question: What are some challenges of implementing a system of RAG with LLMs?',
215
  'Search: LLM Self-Play; Question: What are the benefits of using self-play with LLMs?',
216
  'Search: Portable Blockchain; Question: How can a portable blockchain device be implemented?',
217
- 'Search: 1.58 bit LLMs; Question: How do 1.58 bit LLMs work? Is there an available model to test?'
 
 
218
  ]
219
  ).launch()
 
155
  headers = { "Content-Type": "application/json",
156
  "Authorization": f"Bearer {openrouter_key}" }
157
  body = { "stream": True,
158
+ "model": "openchat/openchat-7b",
 
 
 
 
 
159
  "max_tokens": 1024,
160
  "messages": [
161
  {"role": "user", "content": prompt}
 
209
  'Search: RAG LLM; Question: What are some challenges of implementing a system of RAG with LLMs?',
210
  'Search: LLM Self-Play; Question: What are the benefits of using self-play with LLMs?',
211
  'Search: Portable Blockchain; Question: How can a portable blockchain device be implemented?',
212
+ 'Search: 1.58 bit LLMs; Question: How do 1.58 bit LLMs work? Is there an available model to test?',
213
+ 'Search: Programação Robocode; Question: Como posso utilizar o robocode no contexto de aprendizagem de programação?',
214
+ 'Search: Pensamento Computacional; Question: Explique os conceitos do pensamento computacional.'
215
  ]
216
  ).launch()