Spaces:
Build error
Build error
Robert Neagu commited on
Commit ·
d88b909
1
Parent(s): 47ee8ac
Changed model
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from transformers import pipeline
|
|
| 4 |
# Currently in alpha of what model to use
|
| 5 |
# Unable to finetune a popular model atm
|
| 6 |
# Will use a Linux helper model instead
|
| 7 |
-
model_name = "
|
| 8 |
|
| 9 |
# the pipeline can be different things like classification, sentiment, or text-generation, question-answering
|
| 10 |
pipe = pipeline(
|
|
@@ -13,7 +13,7 @@ pipe = pipeline(
|
|
| 13 |
top_k=None)
|
| 14 |
|
| 15 |
# this is the text input box for the user
|
| 16 |
-
input_text = st.text_area('What do you need help with on your Linux-based computer?\nModel credit: https://huggingface.co/
|
| 17 |
|
| 18 |
# if text means, if the variable text is not empty then run below
|
| 19 |
if input_text:
|
|
|
|
| 4 |
# Currently in alpha of what model to use
|
| 5 |
# Unable to finetune a popular model atm
|
| 6 |
# Will use a Linux helper model instead
|
| 7 |
+
model_name = "mradermacher/LinuxHelperV1-GGUF"
|
| 8 |
|
| 9 |
# the pipeline can be different things like classification, sentiment, or text-generation, question-answering
|
| 10 |
pipe = pipeline(
|
|
|
|
| 13 |
top_k=None)
|
| 14 |
|
| 15 |
# this is the text input box for the user
|
| 16 |
+
input_text = st.text_area('What do you need help with on your Linux-based computer?\nModel credit: https://huggingface.co/mradermacher/LinuxHelperV1-GGUF')
|
| 17 |
|
| 18 |
# if text means, if the variable text is not empty then run below
|
| 19 |
if input_text:
|