codingchild commited on
Commit
2932f05
β€’
1 Parent(s): 2bf5d9d

made folder

Browse files
app.py CHANGED
@@ -6,9 +6,9 @@ from time import time
6
  import json
7
  import boto3
8
 
9
- from db_modules import get_db, put_item, get_item, get_lastest_item
10
- from gpt_modules import gpt_call
11
- from debate_bot import debate_bot
12
 
13
  import os
14
 
 
6
  import json
7
  import boto3
8
 
9
+ from modules.db_modules import get_db, put_item, get_item, get_lastest_item
10
+ from modules.gpt_modules import gpt_call
11
+ from bots.debate_bot import debate_bot
12
 
13
  import os
14
 
debate_bot.py β†’ bots/debate_bot.py RENAMED
@@ -1,6 +1,6 @@
1
  import re
2
  from langchain.prompts import PromptTemplate
3
- from gpt_modules import gpt_call
4
 
5
  def debate_bot(prompt, history="", debate_subject="", bot_role=""):
6
 
 
1
  import re
2
  from langchain.prompts import PromptTemplate
3
+ from modules.gpt_modules import gpt_call
4
 
5
  def debate_bot(prompt, history="", debate_subject="", bot_role=""):
6
 
db_modules.py β†’ modules/db_modules.py RENAMED
@@ -1,7 +1,6 @@
1
 
2
  import boto3
3
  from boto3.dynamodb.conditions import Key
4
- import os
5
  from dotenv import dotenv_values
6
 
7
  config = dotenv_values(".env")
 
1
 
2
  import boto3
3
  from boto3.dynamodb.conditions import Key
 
4
  from dotenv import dotenv_values
5
 
6
  config = dotenv_values(".env")
gpt_modules.py β†’ modules/gpt_modules.py RENAMED
File without changes