Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import gradio as gr
|
2 |
-
import json, openai, os
|
3 |
from openai import OpenAI
|
4 |
|
5 |
def show_json(str, obj):
|
@@ -85,7 +85,7 @@ gr.ChatInterface(
|
|
85 |
title="Math Tutor",
|
86 |
description="Question",
|
87 |
theme="soft",
|
88 |
-
examples=["I need to solve the equation `3x +
|
89 |
cache_examples=False,
|
90 |
retry_btn=None,
|
91 |
undo_btn=None,
|
|
|
1 |
import gradio as gr
|
2 |
+
import json, openai, os, time
|
3 |
from openai import OpenAI
|
4 |
|
5 |
def show_json(str, obj):
|
|
|
85 |
title="Math Tutor",
|
86 |
description="Question",
|
87 |
theme="soft",
|
88 |
+
examples=["I need to solve the equation `3x + 13 = 11`. Can you help me?"],
|
89 |
cache_examples=False,
|
90 |
retry_btn=None,
|
91 |
undo_btn=None,
|