Spaces:
Runtime error
Runtime error
Separate YAML metadata into space-config.yaml
Browse files- README.md +0 -12
- space-config.yaml +7 -0
README.md
CHANGED
@@ -33,18 +33,6 @@ curl -X POST http://localhost:7860/generate \
|
|
33 |
```
|
34 |
|
35 |
Example using Python:
|
36 |
-
|
37 |
-
```python
|
38 |
-
import requests
|
39 |
-
|
40 |
-
url = "http://localhost:7860/generate"
|
41 |
-
data = {
|
42 |
-
"prompt": "Hello, how are you?",
|
43 |
-
"max_length": 2048,
|
44 |
-
"num_beams": 3,
|
45 |
-
pinned: false
|
46 |
-
---
|
47 |
-
|
48 |
# LLaMA 7B Server
|
49 |
|
50 |
A FastAPI-based server for interacting with the LLaMA 7B model.
|
|
|
33 |
```
|
34 |
|
35 |
Example using Python:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
# LLaMA 7B Server
|
37 |
|
38 |
A FastAPI-based server for interacting with the LLaMA 7B model.
|
space-config.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
emoji: 🤖
|
2 |
+
colorFrom: blue
|
3 |
+
colorTo: purple
|
4 |
+
sdk: static
|
5 |
+
sdk_version: "1.0.0"
|
6 |
+
app_file: app.py
|
7 |
+
pinned: false
|