Minecraft3193092 commited on
Commit
cf50d4d
·
verified ·
1 Parent(s): b98c80e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -7,9 +7,7 @@ import requests
7
  MODEL = "gpt-4o"
8
  API_URL = os.getenv("API_URL")
9
  DISABLED = os.getenv("DISABLED") == 'True'
10
- OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
11
  print (API_URL)
12
- print (OPENAI_API_KEY)
13
  NUM_THREADS = int(os.getenv("NUM_THREADS"))
14
 
15
  print (NUM_THREADS)
@@ -173,9 +171,9 @@ with gr.Blocks(css = """#col_container { margin-left: auto; margin-right: auto;}
173
  with gr.Accordion("User Consent for Data Collection, Use, and Sharing", open=True):
174
  gr.HTML("""
175
  <div>
176
- <p>By using our app, which is powered by OpenAI's API, you acknowledge and agree to the following terms regarding the data you provide:</p>
177
  <ol>
178
- <li><strong>Collection:</strong> We may collect information, including the inputs you type into our app, the outputs generated by OpenAI's API, and certain technical details about your device and connection (such as browser type, operating system, and IP address) provided by your device's request headers.</li>
179
  <li><strong>Use:</strong> We may use the collected data for research purposes, to improve our services, and to develop new products or services, including commercial applications, and for security purposes, such as protecting against unauthorized access and attacks.</li>
180
  <li><strong>Sharing and Publication:</strong> Your data, including the technical details collected from your device's request headers, may be published, shared with third parties, or used for analysis and reporting purposes.</li>
181
  <li><strong>Data Retention:</strong> We may retain your data, including the technical details collected from your device's request headers, for as long as necessary.</li>
 
7
  MODEL = "gpt-4o"
8
  API_URL = os.getenv("API_URL")
9
  DISABLED = os.getenv("DISABLED") == 'True'
 
10
  print (API_URL)
 
11
  NUM_THREADS = int(os.getenv("NUM_THREADS"))
12
 
13
  print (NUM_THREADS)
 
171
  with gr.Accordion("User Consent for Data Collection, Use, and Sharing", open=True):
172
  gr.HTML("""
173
  <div>
174
+ <p>By using our app, which is powered by the space, you acknowledge and agree to the following terms regarding the data you provide:</p>
175
  <ol>
176
+ <li><strong>Collection:</strong> We may collect information, including the inputs you type into our app, the outputs generated by this space, and certain technical details about your device and connection (such as browser type, operating system, and IP address) provided by your device's request headers.</li>
177
  <li><strong>Use:</strong> We may use the collected data for research purposes, to improve our services, and to develop new products or services, including commercial applications, and for security purposes, such as protecting against unauthorized access and attacks.</li>
178
  <li><strong>Sharing and Publication:</strong> Your data, including the technical details collected from your device's request headers, may be published, shared with third parties, or used for analysis and reporting purposes.</li>
179
  <li><strong>Data Retention:</strong> We may retain your data, including the technical details collected from your device's request headers, for as long as necessary.</li>