Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,8 +5,15 @@ import gradio as gr
|
|
5 |
import csv
|
6 |
import json
|
7 |
import io
|
|
|
|
|
8 |
from abc import ABC, abstractmethod
|
|
|
|
|
9 |
from typing import TYPE_CHECKING, Any, List
|
|
|
|
|
|
|
10 |
|
11 |
# Set the OpenAI API key
|
12 |
openai.api_key = os.getenv("OPENAI_API_KEY")
|
|
|
5 |
import csv
|
6 |
import json
|
7 |
import io
|
8 |
+
import uuid
|
9 |
+
import datetime
|
10 |
from abc import ABC, abstractmethod
|
11 |
+
from pathlib import Path
|
12 |
+
from gradio import encryptor, utils
|
13 |
from typing import TYPE_CHECKING, Any, List
|
14 |
+
from gradio.documentation import document, set_documentation_group
|
15 |
+
from gradio.components import IOComponent
|
16 |
+
from __future__ import annotations
|
17 |
|
18 |
# Set the OpenAI API key
|
19 |
openai.api_key = os.getenv("OPENAI_API_KEY")
|