Monster commited on
Commit
d21d50a
·
1 Parent(s): ee65268

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -10,4 +10,6 @@ def chat(input):
10
  resp = llm(input)
11
  return resp['choices'][0]['text']
12
 
13
- gr.Interface(fn=chat, inputs="text", outputs="text", description="gpt4all: an ecosystem of open-source chatbots trained on a massive collections of clean assistant data including code, stories and dialogue", examples=[['What is a three word topic describing the following keywords: baseball, football, soccer'],['Q: Reverse a string in python\nA: ']]).launch()
 
 
 
10
  resp = llm(input)
11
  return resp['choices'][0]['text']
12
 
13
+ g = gr.Interface(fn=chat, inputs="text", outputs="text", title="GPT4ALL".description="gpt4all: an ecosystem of open-source chatbots trained on a massive collections of clean assistant data including code, stories and dialogue", examples=[['What is a three word topic describing the following keywords: baseball, football, soccer'],['Q: Reverse a string in python\nA: ']])
14
+ g.queue(concurrency_count=1)
15
+ g.launch()