Spaces:
Runtime error
Runtime error
Isaak Carter Augustus
commited on
Commit
•
485bfef
1
Parent(s):
726ba73
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ History = List[Tuple[str, str]]
|
|
13 |
Messages = List[Dict[str, str]]
|
14 |
|
15 |
# Load model and tokenizer
|
16 |
-
model_name = '
|
17 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
18 |
model = AutoModelForCausalLM.from_pretrained(model_name)
|
19 |
|
@@ -61,6 +61,7 @@ def model_chat(query: Optional[str], history: Optional[History], system: str) ->
|
|
61 |
|
62 |
with gr.Blocks() as demo:
|
63 |
gr.Markdown("""<center><font size=8>J.O.S.I.E.3-Beta12 Preview👾</center>""")
|
|
|
64 |
|
65 |
with gr.Row():
|
66 |
with gr.Column(scale=1):
|
|
|
13 |
Messages = List[Dict[str, str]]
|
14 |
|
15 |
# Load model and tokenizer
|
16 |
+
model_name = 'mlx-community/J.O.S.I.E.3-Beta12-7B-slerp-8-bit'
|
17 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
18 |
model = AutoModelForCausalLM.from_pretrained(model_name)
|
19 |
|
|
|
61 |
|
62 |
with gr.Blocks() as demo:
|
63 |
gr.Markdown("""<center><font size=8>J.O.S.I.E.3-Beta12 Preview👾</center>""")
|
64 |
+
gr.Markdown("""<center><font size=4>J.O.S.I.E. is also multilingual (German, Spanish, Chinese, Japanese, French)</center>""")
|
65 |
|
66 |
with gr.Row():
|
67 |
with gr.Column(scale=1):
|