Commit d481a5c5 authored by jyong's avatar jyong

Merge branch 'fix/dataset-init' into deploy/dev

parents 380f25bb dd09ff8a
......@@ -17,6 +17,11 @@
```bash
openssl rand -base64 42
```
3.5 If you use annaconda, create a new environment and activate it
```bash
conda create --name dify python=3.10
conda activate dify
```
4. Install dependencies
```bash
pip install -r requirements.txt
......
......@@ -78,7 +78,7 @@ class DatasetService:
raise DatasetNameDuplicateError(
f'Dataset with name {name} already exists.')
dataset = Dataset(name=name, indexing_technique=indexing_technique, data_source_type='upload_file')
dataset = Dataset(name=name, indexing_technique=indexing_technique)
# dataset = Dataset(name=name, provider=provider, config=config)
dataset.created_by = account.id
dataset.updated_by = account.id
......
......@@ -54,7 +54,7 @@
font-weight: 400;
line-height: 1.5;
word-wrap: break-word;
word-break: break-all;
word-break: break-word;
user-select: text;
}
......@@ -1042,4 +1042,4 @@
.markdown-body ::-webkit-calendar-picker-indicator {
filter: invert(50%);
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment