Spaces:
Sleeping
Sleeping
Rename directory to brand_tune
Browse files- README.md +9 -0
- app.py +1 -1
- {brand_sheriff → brand_tune}/__init__.py +0 -0
- {brand_sheriff → brand_tune}/app.py +1 -1
- {brand_sheriff → brand_tune}/prompting.py +0 -0
- pyproject.toml +1 -1
README.md
CHANGED
@@ -12,3 +12,12 @@ python_version: "3.9"
|
|
12 |
---
|
13 |
|
14 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
---
|
13 |
|
14 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
15 |
+
|
16 |
+
## Running locally
|
17 |
+
|
18 |
+
Run the following from the terminal:
|
19 |
+
|
20 |
+
```sh
|
21 |
+
poetry install
|
22 |
+
poetry run gradio app.py
|
23 |
+
```
|
app.py
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
from
|
2 |
|
3 |
interface.launch()
|
|
|
1 |
+
from brand_tune.app import interface
|
2 |
|
3 |
interface.launch()
|
{brand_sheriff → brand_tune}/__init__.py
RENAMED
File without changes
|
{brand_sheriff → brand_tune}/app.py
RENAMED
@@ -1,4 +1,4 @@
|
|
1 |
-
from
|
2 |
|
3 |
import gradio as gr
|
4 |
import openai
|
|
|
1 |
+
from brand_tune import prompting
|
2 |
|
3 |
import gradio as gr
|
4 |
import openai
|
{brand_sheriff → brand_tune}/prompting.py
RENAMED
File without changes
|
pyproject.toml
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
[tool.poetry]
|
2 |
-
name = "brand-
|
3 |
version = "0.1.0"
|
4 |
description = ""
|
5 |
authors = ["Václav Volhejn <[email protected]>"]
|
|
|
1 |
[tool.poetry]
|
2 |
+
name = "brand-tune"
|
3 |
version = "0.1.0"
|
4 |
description = ""
|
5 |
authors = ["Václav Volhejn <[email protected]>"]
|