gokaygokay
commited on
Commit
·
d909771
1
Parent(s):
a06b33f
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,11 @@
|
|
|
|
1 |
import gradio as gr
|
2 |
import random
|
3 |
import json
|
4 |
import os
|
5 |
import re
|
6 |
from openai import OpenAI
|
|
|
7 |
|
8 |
# Load JSON files
|
9 |
def load_json_file(file_name):
|
@@ -255,7 +257,7 @@ class PromptGenerator:
|
|
255 |
|
256 |
class GPT4MiniNode:
|
257 |
def __init__(self):
|
258 |
-
self.client =
|
259 |
self.prompts_dir = "./prompts"
|
260 |
os.makedirs(self.prompts_dir, exist_ok=True)
|
261 |
|
|
|
1 |
+
from datetime import datetime
|
2 |
import gradio as gr
|
3 |
import random
|
4 |
import json
|
5 |
import os
|
6 |
import re
|
7 |
from openai import OpenAI
|
8 |
+
import da
|
9 |
|
10 |
# Load JSON files
|
11 |
def load_json_file(file_name):
|
|
|
257 |
|
258 |
class GPT4MiniNode:
|
259 |
def __init__(self):
|
260 |
+
self.client = None
|
261 |
self.prompts_dir = "./prompts"
|
262 |
os.makedirs(self.prompts_dir, exist_ok=True)
|
263 |
|