-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into glossary_new
- Loading branch information
Showing
26 changed files
with
474 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
APP_BASE_URL=http://localhost:3000 | ||
API_BASE_URL=http://localhost:8080 | ||
GS_BUCKET_NAME=dara-c1b52.appspot.com | ||
PGHOST=127.0.0.1 | ||
PGPORT=5432 | ||
PGUSER=gooey | ||
PGDATABASE=gooey | ||
PGPASSWORD=gooey |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# this Procfile can be run with `honcho`, and it can start multiple processes | ||
# with a single command. Handy for development. All of the below commands are | ||
# setup to run in dev mode only, and not in prod. | ||
# | ||
# The assumptions here are that: | ||
# - you have redis installed but not running as a background service | ||
# - you have rabbitmq installed but not running as a background service | ||
# - your local gooey-ui repo is at ../gooey-ui/ | ||
# | ||
# You can comment any of the processes if you have background services running | ||
# for them. You can also change the path for the `ui` process from `../gooey-ui/` | ||
# to wherever your local gooey-ui directory is. | ||
|
||
api: poetry run uvicorn server:app --host 127.0.0.1 --port 8080 --reload | ||
|
||
admin: poetry run python manage.py runserver 127.0.0.1:8000 | ||
|
||
dashboard: poetry run streamlit run Home.py --server.port 8501 --server.headless true | ||
|
||
celery: poetry run celery -A celeryapp worker | ||
|
||
ui: cd ../gooey-ui/; PORT=3000 npm run dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Generated by Django 4.2.3 on 2023-09-19 20:51 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
def forwards_func(apps, schema_editor): | ||
Message = apps.get_model("bots", "Message") | ||
db_alias = schema_editor.connection.alias | ||
objects = Message.objects.using(db_alias) | ||
objects.filter(platform_msg_id="").update(platform_msg_id=None) | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("bots", "0041_alter_botintegration_slack_create_personal_channels"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="message", | ||
name="platform_msg_id", | ||
field=models.TextField( | ||
blank=True, | ||
default=None, | ||
help_text="The platform's delivered message id", | ||
null=True, | ||
), | ||
), | ||
migrations.RunPython(forwards_func), | ||
migrations.AlterField( | ||
model_name="message", | ||
name="platform_msg_id", | ||
field=models.TextField( | ||
blank=True, | ||
default=None, | ||
help_text="The platform's delivered message id", | ||
null=True, | ||
unique=True, | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Generated by Django 4.2.5 on 2023-09-20 09:18 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("bots", "0042_alter_message_platform_msg_id"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="savedrun", | ||
name="workflow", | ||
field=models.IntegerField( | ||
choices=[ | ||
(1, "Doc Search"), | ||
(2, "Doc Summary"), | ||
(3, "Google GPT"), | ||
(4, "Copilot"), | ||
(5, "Lipysnc + TTS"), | ||
(6, "Text to Speech"), | ||
(7, "Speech Recognition"), | ||
(8, "Lipsync"), | ||
(9, "Deforum Animation"), | ||
(10, "Compare Text2Img"), | ||
(11, "Text2Audio"), | ||
(12, "Img2Img"), | ||
(13, "Face Inpainting"), | ||
(14, "Google Image Gen"), | ||
(15, "Compare AI Upscalers"), | ||
(16, "SEO Summary"), | ||
(17, "Email Face Inpainting"), | ||
(18, "Social Lookup Email"), | ||
(19, "Object Inpainting"), | ||
(20, "Image Segmentation"), | ||
(21, "Compare LLM"), | ||
(22, "Chyron Plant"), | ||
(23, "Letter Writer"), | ||
(24, "Smart GPT"), | ||
(25, "AI QR Code"), | ||
(26, "Doc Extract"), | ||
(27, "Related QnA Maker"), | ||
(28, "Related QnA Maker Doc"), | ||
(29, "Embeddings"), | ||
], | ||
default=4, | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.