Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,5 +6,6 @@ my_pipe = pipeline("text-generation", model="NousResearch/Yarn-Mistral-7b-128k")
|
|
6 |
def get_class_1(input):
|
7 |
return my_pipe(input)
|
8 |
|
|
|
9 |
iface = gr.Interface(fn=get_class_1, inputs="text", outputs=['text'], title='hello', description='LLM')
|
10 |
iface.launch()
|
|
|
6 |
def get_class_1(input):
|
7 |
return my_pipe(input)
|
8 |
|
9 |
+
# Start interface
|
10 |
iface = gr.Interface(fn=get_class_1, inputs="text", outputs=['text'], title='hello', description='LLM')
|
11 |
iface.launch()
|