yaoshining commited on
Commit
8bf6161
1 Parent(s): aed2c7c
Files changed (1) hide show
  1. app.py +4 -9
app.py CHANGED
@@ -1,9 +1,4 @@
1
- import gradio as gr
2
-
3
-
4
- def greet(name):
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')