tywei08 commited on
Commit
d3fbe1a
·
verified ·
1 Parent(s): 172085e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def create_assistant_json(uploaded_file, assistant_name, assistant_message):
28
  return assistant.id
29
 
30
  # Creating the Gradio interface
31
- with gr.Blocks() as demo:
32
  gr.Markdown("## To create an OpenAI Assistant please fill in the following sections. Upload a file to give the Assistant knowledge and a focus on something outside of it's normal training. Then add an assistant name and message. The Assistant message should guide the model into in a role. An example would be, You are a helpful Asssitant who is knowledgable in the field of...")
33
  gr.Markdown("## After creating the ID head to [OpenAI_Assistant_Chat](https://huggingface.co/spaces/jadend/OpenAI_Assistant_Chat).")
34
  with gr.Row():
 
28
  return assistant.id
29
 
30
  # Creating the Gradio interface
31
+ with gr.Blocks(css=".gradio-container {background-color: red}") as demo:
32
  gr.Markdown("## To create an OpenAI Assistant please fill in the following sections. Upload a file to give the Assistant knowledge and a focus on something outside of it's normal training. Then add an assistant name and message. The Assistant message should guide the model into in a role. An example would be, You are a helpful Asssitant who is knowledgable in the field of...")
33
  gr.Markdown("## After creating the ID head to [OpenAI_Assistant_Chat](https://huggingface.co/spaces/jadend/OpenAI_Assistant_Chat).")
34
  with gr.Row():