Spaces:
Sleeping
Sleeping
AFischer1985
commited on
Commit
•
caebb38
1
Parent(s):
3f1cb20
Update run.py
Browse files
run.py
CHANGED
@@ -3,7 +3,7 @@ import requests
|
|
3 |
import random
|
4 |
import json
|
5 |
def response(message, history):
|
6 |
-
url="https://afischer1985-wizardlm-13b-v1-2-
|
7 |
body={"prompt":"###Frage: "+message+" ###Antwort:","max_tokens":1000,"stop":"###","stream":True} #128
|
8 |
response=""
|
9 |
buffer=""
|
@@ -30,4 +30,4 @@ def response(message, history):
|
|
30 |
pass
|
31 |
yield response
|
32 |
|
33 |
-
gr.ChatInterface(response,title="WizardLM-13B-v1.2-Interface",description="Graphical User Interface to WizardLM-13B-v1.2 (
|
|
|
3 |
import random
|
4 |
import json
|
5 |
def response(message, history):
|
6 |
+
url="https://afischer1985-wizardlm-13b-v1-2-q8-0-gguf.hf.space/v1/completions"
|
7 |
body={"prompt":"###Frage: "+message+" ###Antwort:","max_tokens":1000,"stop":"###","stream":True} #128
|
8 |
response=""
|
9 |
buffer=""
|
|
|
30 |
pass
|
31 |
yield response
|
32 |
|
33 |
+
gr.ChatInterface(response,title="WizardLM-13B-v1.2-Interface",description="Graphical User Interface to WizardLM-13B-v1.2 (Q8_0) based on the [API here](https://huggingface.co/spaces/AFischer1985/wizardlm-13b-v1-2-q8-0-gguf)").queue().launch(share=True)
|