Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -185,7 +185,8 @@ import requests
|
|
185 |
import openai
|
186 |
import random
|
187 |
import base64
|
188 |
-
import
|
|
|
189 |
|
190 |
def function(Textbox,Textbox2, Textbox3, Textbox4):
|
191 |
target = os.environ.get("target")
|
@@ -238,7 +239,6 @@ def function(Textbox,Textbox2, Textbox3, Textbox4):
|
|
238 |
# model = os.environ.get("model")
|
239 |
# hrc = os.environ.get("hrc")
|
240 |
if Textbox3 == target:
|
241 |
-
print(target)
|
242 |
try:
|
243 |
# sleep(0.8)
|
244 |
# headers = {
|
|
|
185 |
import openai
|
186 |
import random
|
187 |
import base64
|
188 |
+
import json
|
189 |
+
import os
|
190 |
|
191 |
def function(Textbox,Textbox2, Textbox3, Textbox4):
|
192 |
target = os.environ.get("target")
|
|
|
239 |
# model = os.environ.get("model")
|
240 |
# hrc = os.environ.get("hrc")
|
241 |
if Textbox3 == target:
|
|
|
242 |
try:
|
243 |
# sleep(0.8)
|
244 |
# headers = {
|