Spaces:
Running
Running
Update app.py
Browse files
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: ']])
|
|
|
|
|
|
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()
|