davidlopez commited on
Commit
26c810a
·
verified ·
1 Parent(s): 353feec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -30,7 +30,7 @@ FakeNewsAggregator = client.beta.assistants.retrieve(os.getenv('OPENAI_ASSISTANT
30
  thread= client.beta.threads.create()
31
 
32
  @traceable # Auto-trace this function
33
- def FakeNewsAggregatorRequest(text):
34
 
35
  global FakeNewsAggregator
36
  global thread
@@ -60,12 +60,12 @@ def FakeNewsAggregatorRequest(text):
60
 
61
 
62
 
63
- gr.Interface(fn=FakeNewsAggregatorRequest,
64
  inputs=["text"],
65
  outputs=["text"],
66
  flagging_mode='never',
67
- title="Did Elon Musk actually say that?",
68
- description="I am virtual assistant to help you verify Elon Musk's opinions ",
69
  theme="soft",
70
- examples=['Elon Musk and free speech','Elon musk on climate change', 'Elon Musk on disinformation']
71
  ).launch(share=False)
 
30
  thread= client.beta.threads.create()
31
 
32
  @traceable # Auto-trace this function
33
+ def IntroPythonTutorRequest(text):
34
 
35
  global FakeNewsAggregator
36
  global thread
 
60
 
61
 
62
 
63
+ gr.Interface(fn=IntroPythonTutorRequest,
64
  inputs=["text"],
65
  outputs=["text"],
66
  flagging_mode='never',
67
+ title="Intro to Python Tutor",
68
+ description="I am virtual assistant to help you practice basic Python ",
69
  theme="soft",
70
+ examples=['Brief intro to Python','Variables in Python', '5 Coding exercises']
71
  ).launch(share=False)