Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,9 +8,9 @@ with gr.Blocks() as demo:
|
|
8 |
msg = gr.Textbox()
|
9 |
clear = gr.ClearButton([msg, chatbot])
|
10 |
|
11 |
-
model = AutoModelForSequenceClassification.from_pretrained("
|
12 |
|
13 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
14 |
|
15 |
query_pipeline = transformers.pipeline(
|
16 |
"text-generation",
|
|
|
8 |
msg = gr.Textbox()
|
9 |
clear = gr.ClearButton([msg, chatbot])
|
10 |
|
11 |
+
model = AutoModelForSequenceClassification.from_pretrained("./modelo")
|
12 |
|
13 |
+
tokenizer = AutoTokenizer.from_pretrained("./tokenizer")
|
14 |
|
15 |
query_pipeline = transformers.pipeline(
|
16 |
"text-generation",
|