hra commited on
Commit
4a47e06
1 Parent(s): ee196e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -16,6 +16,7 @@ from PIL import Image
16
  API_TOKEN = os.getenv("OPENAI_API_TOKEN")
17
  HRA_TOKEN=os.getenv("HRA_TOKEN")
18
 
 
19
  headers = {'Content-type': 'application/json', 'Accept': 'text/plain'}
20
  url_hraprompts='https://us-central1-createinsightsproject.cloudfunctions.net/gethrahfprompts'
21
 
@@ -28,6 +29,9 @@ print(r.content)
28
 
29
 
30
  prompt_text=str(r.content, 'UTF-8')
 
 
 
31
  print(prompt_text)
32
 
33
  def getmindmap(topic,openapikey):
 
16
  API_TOKEN = os.getenv("OPENAI_API_TOKEN")
17
  HRA_TOKEN=os.getenv("HRA_TOKEN")
18
 
19
+ """
20
  headers = {'Content-type': 'application/json', 'Accept': 'text/plain'}
21
  url_hraprompts='https://us-central1-createinsightsproject.cloudfunctions.net/gethrahfprompts'
22
 
 
29
 
30
 
31
  prompt_text=str(r.content, 'UTF-8')
32
+ """
33
+ prompt_text="Given a topic make a mindmap. The mindmap should cover various aspects not limited to concept, features, companies, types, applications, challenges etc. Output the mindmap in json format. Topic is :"
34
+
35
  print(prompt_text)
36
 
37
  def getmindmap(topic,openapikey):