Spaces:
Runtime error
Runtime error
yaoshining
commited on
Commit
·
8bf6161
1
Parent(s):
aed2c7c
Add webui
Browse files
app.py
CHANGED
@@ -1,9 +1,4 @@
|
|
1 |
-
import
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
return "Hello " + name + "!!"
|
6 |
-
|
7 |
-
|
8 |
-
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
9 |
-
iface.launch()
|
|
|
1 |
+
import os
|
2 |
+
os.system('python download-model.py PygmalionAI/pygmalion-350m --branch main')
|
3 |
+
# os.system('python download-model.py waifu-workshop/pygmalion-6b --branch original-sharded')
|
4 |
+
os.system('python server.py --cpu --chat --model pygmalion-350m --no-stream --auto-devices')
|
|
|
|
|
|
|
|
|
|