Update app.py
Browse files
app.py
CHANGED
@@ -2,8 +2,8 @@ import gradio as gr
|
|
2 |
from transformers import AutoModelForCausalLM, AutoTokenizer, TextIteratorStreamer
|
3 |
from threading import Thread
|
4 |
|
5 |
-
model = AutoModelForCausalLM.from_pretrained("Sigurdur/
|
6 |
-
tokenizer = AutoTokenizer.from_pretrained("Sigurdur/
|
7 |
|
8 |
|
9 |
def streaming_respond(question, history):
|
|
|
2 |
from transformers import AutoModelForCausalLM, AutoTokenizer, TextIteratorStreamer
|
3 |
from threading import Thread
|
4 |
|
5 |
+
model = AutoModelForCausalLM.from_pretrained("Sigurdur/qa-icebreaker")
|
6 |
+
tokenizer = AutoTokenizer.from_pretrained("Sigurdur/qa-icebreaker")
|
7 |
|
8 |
|
9 |
def streaming_respond(question, history):
|